Microsoft Version of Elapsed Number of Seconds
Keywords: microsoft version elapsed number seconds syntax purpose s linking

| Prev | Next |  |  |  |  |  | microsoft_timer |

Microsoft Version of Elapsed Number of Seconds
Syntax
`s = microsoft_timer()`
Purpose
This routine is accurate to within .02 seconds (see elapsed_seconds which uses this routine when the preprocessor symbol `_MSC_VER` is defined). It does not necessary work for time intervals that are greater than a day. It uses `::GetSystemTime` for timing.
s
is a `double` equal to the number of seconds since the first call to `microsoft_timer`.
Linking
The source code for this routine is located in `speed/src/microsoft_timer.cpp`. The preprocessor symbol `_MSC_VER` must be defined, or this routine is not compiled.

Input File: speed/src/microsoft_timer.cpp