mirror of
https://github.com/Lizonghang/prima.cpp.git
synced 2025-09-06 02:19:04 +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 {
|
struct Timer {
|
||||||
const char * name;
|
const char * name;
|
||||||
int64_t start_time;
|
int64_t start_time;
|
||||||
bool enable_timer = true;
|
bool enable_timer = false;
|
||||||
Timer(const char * name) : name(name), start_time(ggml_time_us()) {}
|
Timer(const char * name) : name(name), start_time(ggml_time_us()) {}
|
||||||
~Timer() {
|
~Timer() {
|
||||||
if (enable_timer) {
|
if (enable_timer) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue