Skip to content

Commit

Permalink
IOSS: Add missing DebugOut(), increase logging time precision
Browse files Browse the repository at this point in the history
  • Loading branch information
gsjaardema committed Jul 28, 2022
1 parent baeba99 commit a1da779
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/seacas/libraries/ioss/src/Ioss_DatabaseIO.C
Original file line number Diff line number Diff line change
Expand Up @@ -1318,7 +1318,7 @@ namespace {
std::ostringstream strm;
auto now = std::chrono::steady_clock::now();
std::chrono::duration<double> diff = now - initial_time;
fmt::print(strm, "{} [{:.3f}]\t", symbol, diff.count());
fmt::print(strm, "{} [{:.5f}]\t", symbol, diff.count());

int64_t total = 0;
for (auto &p_size : all_sizes) {
Expand Down Expand Up @@ -1349,7 +1349,7 @@ namespace {
if (util.parallel_rank() == 0 || single_proc_only) {
auto time_now = std::chrono::steady_clock::now();
std::chrono::duration<double> diff = time_now - initial_time;
fmt::print("{} [{:.3f}]\n", symbol, diff.count());
fmt::print(Ioss::DebugOut(), "{} [{:.5f}]\n", symbol, diff.count());
}
}
}
Expand Down

0 comments on commit a1da779

Please sign in to comment.