MCPcopy Create free account
hub / github.com/RenderKit/embree / getSeconds

Function getSeconds

common/sys/sysinfo.cpp:519–525  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

517 }
518
519 double getSeconds()
520 {
521 LARGE_INTEGER freq, val;
522 QueryPerformanceFrequency(&freq);
523 QueryPerformanceCounter(&val);
524 return (double)val.QuadPart / (double)freq.QuadPart;
525 }
526
527 void sleepSeconds(double t) {
528 Sleep(DWORD(1000.0*t));

Callers 15

buildMethod · 0.85
preBuildMethod · 0.85
postBuildMethod · 0.85
beginMethod · 0.85
absoluteMethod · 0.85
relativeMethod · 0.85
runMethod · 0.85
runMethod · 0.85
benchmarkMethod · 0.85
benchmarkMethod · 0.85
benchmarkMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected