Lines Matching refs:commentStr
206 std::string commentStr; in PrintPerValue() local
207 FormatComments(reportSum, commentStr); in PrintPerValue()
210 … reportSum->threadName.c_str(), reportSum->pid, reportSum->tid, reportSum->cpu, commentStr.c_str(), in PrintPerValue()
214 reportSum->cpu, commentStr.c_str(), reportSum->scaleSum * ratio); in PrintPerValue()
217 reportSum->threadName.c_str(), reportSum->pid, reportSum->tid, commentStr.c_str(), in PrintPerValue()
357 …t::FormatComments(const std::unique_ptr<PerfEvents::ReportSum> &reportSum, std::string &commentStr) in FormatComments() argument
363 commentStr = StringPrintf("%lf cpus used", reportSum->commentSum); in FormatComments()
367 commentStr = StringPrintf("%lf GHz", reportSum->commentSum); in FormatComments()
371 commentStr = StringPrintf("%lf cycles per instruction", reportSum->commentSum); in FormatComments()
375 commentStr = StringPrintf("%lf miss rate", reportSum->commentSum); in FormatComments()
380 commentStr = StringPrintf("%.3lf G/sec", reportSum->commentSum / 1e9); in FormatComments()
384 commentStr = StringPrintf("%.3lf M/sec", reportSum->commentSum / 1e6); in FormatComments()
388 commentStr = StringPrintf("%.3lf K/sec", reportSum->commentSum / 1e3); in FormatComments()
391 commentStr = StringPrintf("%.3lf /sec", reportSum->commentSum); in FormatComments()