disable timer

This commit is contained in:
Lizonghang 2025-02-19 16:24:12 +04:00
parent 863393554a
commit e219fada4e

View file

@ -106,7 +106,7 @@
struct Timer {
const char * name;
int64_t start_time;
bool enable_timer = true;
bool enable_timer = false;
Timer(const char * name) : name(name), start_time(ggml_time_us()) {}
~Timer() {
if (enable_timer) {