MCPcopy Create free account
hub / github.com/ARM-software/astc-encoder / get_time

Function get_time

Source/astcenccli_platform_dependents.cpp:146–153  ·  view source on GitHub ↗

See header for documentation */

Source from the content-addressed store, hash-verified

144
145/* See header for documentation */
146double get_time()
147{
148 FILETIME tv;
149 GetSystemTimePreciseAsFileTime(&tv);
150 unsigned long long ticks = tv.dwHighDateTime;
151 ticks = (ticks << 32) | tv.dwLowDateTime;
152 return static_cast<double>(ticks) / 1.0e7;
153}
154
155/* See header for documentation */
156void set_thread_name(

Callers 1

astcenc_mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected