MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / start_timer

Function start_timer

external/ggml/src/ggml-virtgpu/virtgpu-utils.h:69–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67};
68
69static inline void start_timer(timer_data * timer) {
70 timespec ts;
71 clock_gettime(CLOCK_MONOTONIC, &ts);
72 timer->start = (long long) ts.tv_sec * 1000000000LL + ts.tv_nsec;
73}
74
75// returns the duration in ns
76static inline long long stop_timer(timer_data * timer) {

Callers 1

remote_callFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected