MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / ggml_time_ms

Function ggml_time_ms

ggml.c:339–343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

337 timer_start = t.QuadPart;
338}
339int64_t ggml_time_ms(void) {
340 LARGE_INTEGER t;
341 QueryPerformanceCounter(&t);
342 return ((t.QuadPart-timer_start) * 1000) / timer_freq;
343}
344int64_t ggml_time_us(void) {
345 LARGE_INTEGER t;
346 QueryPerformanceCounter(&t);

Callers 4

llama_get_timingsFunction · 0.70
train_opt_callbackFunction · 0.50
mainFunction · 0.50
mainFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected