U.S. flag An official website of the United States government.
Official websites use .gov

A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS

A lock ( ) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

i

How fast does a computer monitoring program need to run to accurately capture key stroke durations



Details

  • Personal Author:
  • Description:
    Aims: Computer monitoring software can provide detailed information on computer use. In an earlier study, we measured keystroke durations during a typing test in the presence and absence of muscle fatigue. With muscle fatigue, there was a parallel decrease in muscle twitch contraction times and keystroke duration times measured during a typing test. To measure an individual keystroke with millisecond accuracy requires high sampling rates that utilize a majority of the CPU, this substantially interferes with the seamless operation of the other applications on the host computer. Therefore, in order to decrease CPU demands on the host computer, we aimed to determine the relationship between accuracy and scanning rate for multiple keystrokes Methods: In a lab based study, using a computer-monitoring program that monitored the keyboard once every millisecond, the keystroke duration times from 16 subjects were collected across three different days/conditions during five, 5-minute long typing sessions spanning two hours. A total of 324000 keystrokes were collected (an average of 135 keystrokes per data cluster) with the software running at the fastest scan rate, once every 1 second. To understand the effect that different keyboard scan rates would have on measured keystroke durations, keystroke durations were recalculated by simulating the computer monitoring program scanning the keyboard once every 3, 5, 10, 15, 20, 30, 45 and 60 ms. The recalculated data took the original keystroke duration and calculated the new duration based on the closest integer multiple of the new scan rate. Duration error was calculated as the difference between the original keystroke duration and the recalculated keystroke duration. The mean duration error and mean absolute duration error were calculated for each data cluster. Based on keystroke durations from the actual keystroke data (using the 5th percentile, average, and 95th percentile keystroke durations), the same calculations were performed using a simulated digital signal. With the keystroke data collected from the subjects, ANOVA models were fit to the data (independent variable: fatigued/not fatigued, dependent variable duration) at the different scan rates to test if the statistical power for the comparisons changed with scan rate. With the simulated data, ANOVA methods were used to compare differences in keystroke measurement accuracy as the keyboard scan rates slowed from once every millisecond to once every 60 milliseconds. Results: The average keystroke duration from the 16 subjects was 126ms (S.D 35), with 5%tile of 72ms and 95%tile of 202ms. For recalculated keystroke data, the average keystroke measurement error and the absolute measurement error increased as the scan rate decreased. Mean and absolute mean errors ranged between 0 - 1.3ms and 0.7 -14.8ms respectively for the range of scan rates between 3 - 60ms. For average and variability of keystroke durations, the simulated keystroke data results mirrored the actual keystroke results; however, the mean absolute errors ranged between 1.3 - 19.4 ms for the scan rates between 3 - 60ms. The ANOVA models on the recalculated data suggested that keyboard scan rates once every 20ms or faster will not alter the statistical power of detecting keystroke duration differences of 5 - 10 ms (measured keystroke durational changes during fatigue) among conditions and tests. Longer scan rates altered some of the statistical interpretations due to the combined change of mean and variability of keystroke durations. If the mean absolute error was to be limited to 5, 10 or 15 ms, the simulation indicated that the slowest respective acceptable scan rates would be 10, 26 and 43 ms. Conclusion: When simulating a decrease in keyboard scan rate, both the keystroke durations based on the actual collected keystroke data and the simulated data showed similar trends. With the data derived from the actual keystrokes across different conditions, measurement errors were minimal until keyboard scan rates were slower than once every 20 ms. With the simulated data, if the scan rate was once every 20ms, the average keystroke duration measurement was 7.4 ms. [Description provided by NIOSH]
  • Subjects:
  • Keywords:
  • Publisher:
  • Document Type:
  • Funding:
  • Genre:
  • Place as Subject:
  • CIO:
  • Topic:
  • Location:
  • Pages in Document:
    99
  • NIOSHTIC Number:
    nn:20046320
  • Citation:
    Sixth International Scientific Conference on Prevention of Work-Related Musculoskeletal Disorders (PREMUS 2007), August 27-30, 2007 Boston, Massachusetts. Rome, Italy: International Commission on Occupational Health (ICOH), 2007 Aug; :99
  • Federal Fiscal Year:
    2007
  • Performing Organization:
    Harvard University, Boston, Massachusettts
  • Peer Reviewed:
    False
  • Start Date:
    19990930
  • Source Full Name:
    Sixth International Scientific Conference on Prevention of Work-Related Musculoskeletal Disorders (PREMUS 2007), August 27-30, 2007 Boston, Massachusetts
  • End Date:
    20090831
  • Collection(s):
  • Main Document Checksum:
    urn:sha-512:c0dc4d06c9bbe516efd7fab3b9fad83d120007e52f1bd7756d035b6d15a64f626ec4b1b606eb814493528368e9a8b869f19478aaf2bedb3f4187780e0adc314d
  • Download URL:
  • File Type:
    Filetype[PDF - 23.90 KB ]
ON THIS PAGE

CDC STACKS serves as an archival repository of CDC-published products including scientific findings, journal articles, guidelines, recommendations, or other public health information authored or co-authored by CDC or funded partners.

As a repository, CDC STACKS retains documents in their original published format to ensure public access to scientific information.