Fix printing tests profiling data

This commit is contained in:
Nikita Lisitsa 2023-08-22 20:28:57 +03:00
parent 535627f962
commit c6805dea21

View file

@ -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;
}