diff --git a/easy_profiler_core/profile_manager.cpp b/easy_profiler_core/profile_manager.cpp index 996ad07..589b4d5 100644 --- a/easy_profiler_core/profile_manager.cpp +++ b/easy_profiler_core/profile_manager.cpp @@ -254,7 +254,7 @@ profiler::ThreadGuard::~ThreadGuard() #if defined(EASY_CHRONO_CLOCK) static EASY_CONSTEXPR_FCN int64_t calculate_cpu_frequency() { - return EASY_CHRONO_CLOCK::period::den / EASY_CHRONO_CLOCK::period::num + return EASY_CHRONO_CLOCK::period::den / EASY_CHRONO_CLOCK::period::num; } #elif defined(_WIN32) static int64_t calculate_cpu_frequency()