mirror of
https://github.com/Lizonghang/prima.cpp.git
synced 2025-09-05 22:09:03 +00:00
disable timer
This commit is contained in:
parent
863393554a
commit
e219fada4e
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue