We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37265a1 commit 176f197Copy full SHA for 176f197
extension/llm/runner/util.h
@@ -68,7 +68,7 @@ ET_EXPERIMENTAL void inline safe_printf(const char* piece) {
68
ET_EXPERIMENTAL long inline time_in_ms() {
69
// return time in milliseconds, for benchmarking the model speed
70
struct timespec time;
71
- clock_gettime(CLOCK_REALTIME, &time);
+ timespec_get(&time, TIME_UTC);
72
return time.tv_sec * 1000 + time.tv_nsec / 1000000;
73
}
74
0 commit comments