MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / ggml_time_us

Function ggml_time_us

subprojects/llama.cpp/ggml/src/ggml.c:529–533  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

527 return ((t.QuadPart-timer_start) * 1000) / timer_freq;
528}
529int64_t ggml_time_us(void) {
530 LARGE_INTEGER t;
531 QueryPerformanceCounter(&t);
532 return ((t.QuadPart-timer_start) * 1000000) / timer_freq;
533}
534#else
535void ggml_time_init(void) {}
536int64_t ggml_time_ms(void) {

Callers 15

mainFunction · 0.85
mainFunction · 0.85
init_samplerMethod · 0.85
releaseMethod · 0.85
initMethod · 0.85
get_available_slotMethod · 0.85
process_tokenMethod · 0.85
send_partial_responseMethod · 0.85
process_single_taskMethod · 0.85
update_slotsMethod · 0.85
llama_time_usFunction · 0.85

Calls

no outgoing calls

Tested by 5

mainFunction · 0.68
benchFunction · 0.68
mainFunction · 0.68
eval_perfMethod · 0.68
benchmark_functionFunction · 0.68