Lines Matching defs:commentStr
211 std::string commentStr;
212 MakeComments(reportSum, commentStr);
216 reportSum->threadName.c_str(), reportSum->pid, reportSum->tid, reportSum->cpu, commentStr.c_str(),
220 reportSum->cpu, commentStr.c_str(), reportSum->scaleSum * ratio);
223 reportSum->threadName.c_str(), reportSum->pid, reportSum->tid, commentStr.c_str(),
364 void SubCommandStat::MakeComments(const std::unique_ptr<PerfEvents::ReportSum> &reportSum, std::string &commentStr)
368 commentStr = StringPrintf("%lf cpus used", reportSum->commentSum);
372 commentStr = StringPrintf("%lf GHz", reportSum->commentSum);
376 commentStr = StringPrintf("%lf cycles per instruction", reportSum->commentSum);
380 commentStr = StringPrintf("%lf miss rate", reportSum->commentSum);
385 commentStr = StringPrintf("%.3lf G/sec", reportSum->commentSum / 1e9);
389 commentStr = StringPrintf("%.3lf M/sec", reportSum->commentSum / 1e6);
393 commentStr = StringPrintf("%.3lf K/sec", reportSum->commentSum / 1e3);
396 commentStr = StringPrintf("%.3lf /sec", reportSum->commentSum);