diff --git a/src/debug/profile.cpp b/src/debug/profile.cpp index 4e7eec6..bc36966 100644 --- a/src/debug/profile.cpp +++ b/src/debug/profile.cpp @@ -15,14 +15,14 @@ namespace sta { Profiler::Profiler(const char* name) : name_{name}, - start_{timeUs()} + start_{timeMs()} { } Profiler::~Profiler() { - STA_DEBUG_PRINTF("[PROFILER] %s took %d us", name_, timeUs() - start_); + STA_DEBUG_PRINTF("[PROFILER] %s took %d us", name_, timeMs() - start_); } } // namespace sta