mirror of
https://github.com/yse/easy_profiler.git
synced 2024-12-27 00:31:02 +08:00
parent
c352f34c69
commit
cd84bb34ce
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user