Skip to content

Commit

Permalink
BUG: KAM messages should only be printed at 1 a second.
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Jackson <[email protected]>
  • Loading branch information
imikejackson committed Jun 28, 2024
1 parent 365acfd commit 904c5f4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ void ComputeKernelAvgMisorientations::sendThreadSafeProgressMessage(usize counte

m_ProgressCounter += counter;
auto now = std::chrono::steady_clock::now();
if(std::chrono::duration_cast<std::chrono::milliseconds>(now - m_InitialPoint).count() > 1000)
if(std::chrono::duration_cast<std::chrono::milliseconds>(now - m_InitialPoint).count() < 1000)
{
return;
}
Expand Down

0 comments on commit 904c5f4

Please sign in to comment.