Fix printing tests profiling data
This commit is contained in:
parent
535627f962
commit
c6805dea21
1 changed files with 2 additions and 2 deletions
|
|
@ -202,8 +202,8 @@ int main(int argc, char ** argv)
|
|||
for (auto const & p : ctx.profile)
|
||||
{
|
||||
std::cout << indent
|
||||
<< std::setfill(' ') << std::setw(max_profile_name_len + 5) << p.name
|
||||
<< psemek::util::pretty(p.duration, std::chrono::milliseconds{1})
|
||||
<< std::setfill(' ') << std::setw(max_profile_name_len + 5) << std::left << p.name
|
||||
<< psemek::util::pretty(p.duration, std::chrono::microseconds{1})
|
||||
<< (p.ended_with_exception ? " (exception)" : "")
|
||||
<< std::endl;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue