• Home
  • Raw
  • Download

Lines Matching refs:scale

261         double scale = 1.0;  in ReportDetailInfos()  local
293 double scale = 1.0; in ReportNormal() local
305 scale = 1 / (static_cast<double>(it->second->time_enabled) / it->second->time_running); in ReportNormal()
308 comment.c_str(), scale * ratio); in ReportNormal()
315 const std::string &configName, const __u64 group_id, __u64 &eventCount, double &scale) in FindEventCount() argument
323 scale = static_cast<double>(itr->second->time_enabled) / itr->second->time_running; in FindEventCount()
330 …bCommandStat::FindPerCoreEventCount(PerfEvents::Summary &summary, __u64 &eventCount, double &scale) in FindPerCoreEventCount() argument
334 scale = static_cast<double>(summary.time_enabled) / summary.time_running; in FindPerCoreEventCount()
404 double scale = 1.0; in GetDetailComments() local
406 scale = static_cast<double>(summary.time_enabled) / summary.time_running; in GetDetailComments()
409 comment += countEvent->used_cpus * scale; in GetDetailComments()
416 hz = summary.eventCount / (running_time_in_sec / scale); in GetDetailComments()
428 if (other || (IsMonitoredAtAllTime(otherScale) && IsMonitoredAtAllTime(scale))) { in GetDetailComments()
437 if ((other || (IsMonitoredAtAllTime(otherScale) && IsMonitoredAtAllTime(scale))) && in GetDetailComments()
443 return HandleOtherConfig(comment, summary, running_time_in_sec, scale, findRunningTime); in GetDetailComments()
447 double scale, bool findRunningTime) in HandleOtherConfig() argument
452 if (scale != 0) { in HandleOtherConfig()
453 rate = summary.eventCount / (running_time_in_sec / scale); in HandleOtherConfig()
460 bool SubCommandStat::IsMonitoredAtAllTime(const double &scale) in IsMonitoredAtAllTime() argument
463 return (fabs(scale - 1.0) < SCALE_ERROR_LIMIT); in IsMonitoredAtAllTime()
480 double scale = 1.0; in GetComments() local
482 scale = static_cast<double>(it->second->time_enabled) / it->second->time_running; in GetComments()
486 double used_cpus = it->second->used_cpus * scale; in GetComments()
494 (IsMonitoredAtAllTime(main_scale) && IsMonitoredAtAllTime(scale)))) { in GetComments()
497 hz = it->second->eventCount / (running_time_in_sec / scale); in GetComments()
512 if (other || (IsMonitoredAtAllTime(otherScale) && IsMonitoredAtAllTime(scale))) { in GetComments()
525 if ((other || (IsMonitoredAtAllTime(otherScale) && IsMonitoredAtAllTime(scale))) && in GetComments()
534 IsMonitoredAtAllTime(scale)))) { in GetComments()
535 double rate = it->second->eventCount / (running_time_in_sec / scale); in GetComments()