| www.delorie.com/bin/cvsweb.cgi/djgpp/src/libc/pc_hw/timer/uclock.c | search |
To download the latest version of this file, click on most recent revision number, then use your browser's "save page as" feature.
Up to djgpp/src/libc/pc_hw/timer/uclock uses rdtsc on Win NT, 2K, XP if available
Include libc/stubs.h to put uclock in library private namespace
update copyright dates
On the first call, if under Windows, wait for the next timer tick before returning. This prevents negative values to be reported during the first 55msec. Update the docs with known bugs and printf format required to print a uclock_t datum.
import djgpp 2.00
| webmaster | delorie software privacy |
| Copyright © 2020 by DJ Delorie | Updated Apr 2020 |