Lines Matching defs:configName

197                                    std::string &configName)
215 printf(" %24s %-30s | %-30s %10d %10d %10d | %-32s | (%.0lf%%)\n", strEventCount.c_str(), configName.c_str(),
219 printf(" %24s %-30s | %10d | %-32s | (%.0lf%%)\n", strEventCount.c_str(), configName.c_str(),
222 printf(" %24s %-30s | %-30s %10d %10d | %-32s | (%.0lf%%)\n", strEventCount.c_str(), configName.c_str(),
269 std::string configName = event->first;
281 perMaps[perKey]->configName = GetDetailComments(event->second, perMaps[perKey]->commentSum,
282 it, configName);
289 PrintPerValue(iper->second, ratio, configName);
304 std::string configName = it->first;
305 std::string comment = comments[configName];
316 printf(" %24s %-30s | %-32s | (%.0lf%%)\n", strEventCount.c_str(), configName.c_str(),
324 const std::string &configName, const __u64 group_id, __u64 &eventCount, double &scale)
326 auto itr = countEvents.find(configName);
367 if (reportSum->configName == "sw-task-clock") {
371 if (reportSum->configName == "hw-cpu-cycles") {
375 if (reportSum->configName == "hw-instructions") {
379 if (reportSum->configName == "hw-branch-misses") {
400 double &comment, PerfEvents::Summary &summary, std::string &configName)
405 if (configName == GetCommentConfigName(countEvent, "sw-cpu-clock")) {
413 if (configName == GetCommentConfigName(countEvent, "sw-task-clock")) {
417 if (configName == GetCommentConfigName(countEvent, "hw-cpu-cycles")) {
429 if (configName == GetCommentConfigName(countEvent, "hw-instructions") && summary.eventCount != 0) {
438 if (configName == GetCommentConfigName(countEvent, "hw-branch-misses")) {
479 std::string configName = it->first;
481 if (configName == commentConfigName) {
482 comments[configName] = "";
490 if (configName == commentConfigName) {
492 comments[configName] = StringPrintf("%lf cpus used", usedCpus);
496 if (configName == commentConfigName) {
504 comments[configName] = StringPrintf("%lf GHz", hz / 1e9);
506 comments[configName] = "";
511 if (configName == commentConfigName && it->second->eventCount != 0) {
519 comments[configName] = StringPrintf("%lf cycles per instruction", cpi);
524 if (configName == commentConfigName) {
534 comments[configName] = StringPrintf("%lf miss rate", miss_rate * ONE_HUNDRED);
542 comments[configName] = StringPrintf("%.3lf G/sec", rate / 1e9);
546 comments[configName] = StringPrintf("%.3lf M/sec", rate / 1e6);
550 comments[configName] = StringPrintf("%.3lf K/sec", rate / 1e3);
553 comments[configName] = StringPrintf("%.3lf /sec", rate);
555 comments[configName] = "";