We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc86c3d commit 88be35cCopy full SHA for 88be35c
libtrn/util.cpp
@@ -484,7 +484,7 @@ void verify_sig()
484
double current_time()
485
{
486
using namespace std::chrono;
487
- auto result{duration_cast<milliseconds>(system_clock::now().time_since_epoch()).count()};
+ auto result{duration_cast<milliseconds>(high_resolution_clock::now().time_since_epoch()).count()};
488
return static_cast<double>(result) / 1000.0;
489
}
490
0 commit comments