some more sif replacements

This commit is contained in:
muellerr committed 2020-04-23 21:59:24 +02:00
1 parent 0ea692a5ea
commit a5d2cbd7db
6 files changed
+19 -19

No files matched your search

+2 -2
View File
@@ -31,11 +31,11 @@ seconds_t Stopwatch::stopSeconds() {
void Stopwatch::display() {
if(displayMode == StopwatchDisplayMode::MILLIS) {
info << "Stopwatch: Operation took " << (elapsedTime.tv_sec * 1000 +
sif::info << "Stopwatch: Operation took " << (elapsedTime.tv_sec * 1000 +
elapsedTime.tv_usec / 1000) << " milliseconds" << std::endl;
}
else if(displayMode == StopwatchDisplayMode::SECONDS) {
info <<"Stopwatch: Operation took " << std::setprecision(3)
sif::info <<"Stopwatch: Operation took " << std::setprecision(3)
<< std::fixed << timevalOperations::toDouble(elapsedTime)
<< " seconds" << std::endl;
}