Commit 30783920 authored by Philip Trettner's avatar Philip Trettner

formatting

parent 164b9dfd
......@@ -157,11 +157,14 @@ std::vector<GlowActionLabel *> GlowActionLabel::getAllLabels()
void GlowActionLabel::update(bool force)
{
if (!sQueries)
return;
while (!sQueries->empty())
{
auto const &qe = sQueries->front();
auto const& e = sEntries->at(qe.index);
auto const &e = sEntries->at(qe.index);
if (e.timeEndCPU == 0)
break; // not finished yet
......@@ -234,7 +237,8 @@ void GlowActionLabel::print(int maxLines)
int wTime = 8;
int wCount = 6;
std::cout << aion_fmt::format("{:>" + std::to_string(wTime) + "} {:>" + std::to_string(wTime) + "} {:>" + std::to_string(wCount) + "} {}",
std::cout << aion_fmt::format("{:>" + std::to_string(wTime) + "} {:>" + std::to_string(wTime) + "} {:>"
+ std::to_string(wCount) + "} {}",
"GPU", "CPU", "Cnt", "Name")
<< std::endl;
for (auto i = 0u; i < labels.size(); ++i)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment