MCPcopy Create free account
hub / github.com/clMathLibraries/clBLAS / getCurrentTime

Function getCurrentTime

src/tests/timer.c:61–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61nano_time_t
62getCurrentTime(void)
63{
64 LARGE_INTEGER count;
65
66 if (QueryPerformanceCounter(&count) == FALSE) {
67 return 0;
68 }
69 return (nano_time_t)count.QuadPart;
70}
71
72void
73sleepTime(nano_time_t time) {

Callers 15

clblasPerfSingleMethod · 0.50
etalonPerfSingleMethod · 0.50
clblasPerfSingleMethod · 0.50
etalonPerfSingleMethod · 0.50
clblasPerfSingleMethod · 0.50
etalonPerfSingleMethod · 0.50
clblasPerfSingleMethod · 0.50
etalonPerfSingleMethod · 0.50
clblasPerfSingleMethod · 0.50
etalonPerfSingleMethod · 0.50
clblasPerfSingleMethod · 0.50
etalonPerfSingleMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected