From abe24a27571302bacdc39360a66b0ee6d9999af7 Mon Sep 17 00:00:00 2001 From: meilier <1967562123@qq.com> Date: Thu, 12 Aug 2021 16:08:52 +0800 Subject: [PATCH] fix compile error when open CFLAGS -DLOG_LOCK_OVERHEAD --- runtime/src/generic_thread.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/runtime/src/generic_thread.c b/runtime/src/generic_thread.c index 52153ea..93e5d19 100644 --- a/runtime/src/generic_thread.c +++ b/runtime/src/generic_thread.c @@ -3,6 +3,9 @@ #include "arch/getcycles.h" #include "debuglog.h" +extern uint32_t runtime_processor_speed_MHz; +extern uint32_t runtime_quantum_us; + /* Implemented by listener and workers */ __thread uint64_t generic_thread_lock_duration = 0;