https://github.com/begriffs/chartime
It's char time!
https://github.com/begriffs/chartime
delay stdio terminal
Last synced: 3 months ago
JSON representation
It's char time!
- Host: GitHub
- URL: https://github.com/begriffs/chartime
- Owner: begriffs
- Created: 2023-01-22T04:58:26.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-22T19:10:39.000Z (over 2 years ago)
- Last Synced: 2025-01-10T17:50:19.089Z (5 months ago)
- Topics: delay, stdio, terminal
- Language: C
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Measure delay between stdin characters
#### Overview
Outputs delay in microseconds between each single-byte call to `read(3)`. Note
that this is most useful in measuring input streams where there is fairly large
natural delay between characters, because making a system call per byte would
naturally slow down bulk reads.My own use case is measuring timed bytes from UART to check the clock-tree
calibration of an MCU.#### Building
To build, simply run `make`. Requires C99 and POSIX 2001 (issue 6).