We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee05dc8 commit 0d6653cCopy full SHA for 0d6653c
1 file changed
port/osal/std_lib/ssp_osal_std.cpp
@@ -69,7 +69,7 @@ BOOL SSPOSAL_LockPut(SSP_OSAL_HANDLE handle)
69
UINT32 SSPOSAL_GetTickCount(void)
70
{
71
using namespace std::chrono;
72
- auto mslonglong = duration_cast<milliseconds>(system_clock::now().time_since_epoch()).count();
+ auto mslonglong = duration_cast<milliseconds>(steady_clock::now().time_since_epoch()).count();
73
UINT32 mslong = (UINT32)mslonglong;
74
return mslong;
75
}
0 commit comments