MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / __QueryPerformanceFrequency

Function __QueryPerformanceFrequency

system/lib/libcxx/src/chrono.cpp:194–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192// and will thus never return zero.
193
194static LARGE_INTEGER __QueryPerformanceFrequency() {
195 LARGE_INTEGER val;
196 (void)QueryPerformanceFrequency(&val);
197 return val;
198}
199
200static steady_clock::time_point __libcpp_steady_clock_now() {
201 static const LARGE_INTEGER freq = __QueryPerformanceFrequency();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected