mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-22 14:35:07 +02:00
Restore default format state of cout after printing with std::fixed/setprecision
This commit is contained in:
parent
70888a39c4
commit
fd05132e5a
@ -100,6 +100,7 @@ bool benchmark::State::KeepRunning()
|
||||
int64_t averageCycles = (nowCycles-beginCycles)/count;
|
||||
std::cout << std::fixed << std::setprecision(15) << name << "," << count << "," << minTime << "," << maxTime << "," << average << ","
|
||||
<< minCycles << "," << maxCycles << "," << averageCycles << "\n";
|
||||
std::cout.copyfmt(std::ios(nullptr));
|
||||
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user