• Home
  • Raw
  • Download

Lines Matching refs:scale

288         double scale = 1.0;  in ReportNormal()  local
300 scale = 1 / (static_cast<double>(it->second->time_enabled) / it->second->time_running); in ReportNormal()
303 comment.c_str(), scale * ratio); in ReportNormal()
310 const std::string &configName, const __u64 group_id, __u64 &eventCount, double &scale) in FindEventCount() argument
318 scale = static_cast<double>(itr->second->time_enabled) / itr->second->time_running; in FindEventCount()
325 …bCommandStat::FindPerCoreEventCount(PerfEvents::Summary &summary, __u64 &eventCount, double &scale) in FindPerCoreEventCount() argument
329 scale = static_cast<double>(summary.time_enabled) / summary.time_running; in FindPerCoreEventCount()
399 double scale = 1.0; in GetDetailComments() local
401 scale = static_cast<double>(summary.time_enabled) / summary.time_running; in GetDetailComments()
404 comment += countEvent->used_cpus * scale; in GetDetailComments()
411 hz = summary.eventCount / (running_time_in_sec / scale); in GetDetailComments()
423 if (other || (IsMonitoredAtAllTime(otherScale) && IsMonitoredAtAllTime(scale))) { in GetDetailComments()
432 if ((other || (IsMonitoredAtAllTime(otherScale) && IsMonitoredAtAllTime(scale))) && in GetDetailComments()
438 return HandleOtherConfig(comment, summary, running_time_in_sec, scale, findRunningTime); in GetDetailComments()
442 double scale, bool findRunningTime) in HandleOtherConfig() argument
447 if (scale != 0) { in HandleOtherConfig()
448 rate = summary.eventCount / (running_time_in_sec / scale); in HandleOtherConfig()
455 bool SubCommandStat::IsMonitoredAtAllTime(const double &scale) in IsMonitoredAtAllTime() argument
458 return (fabs(scale - 1.0) < SCALE_ERROR_LIMIT); in IsMonitoredAtAllTime()
475 double scale = 1.0; in GetComments() local
477 scale = static_cast<double>(it->second->time_enabled) / it->second->time_running; in GetComments()
481 double used_cpus = it->second->used_cpus * scale; in GetComments()
489 (IsMonitoredAtAllTime(main_scale) && IsMonitoredAtAllTime(scale)))) { in GetComments()
492 hz = it->second->eventCount / (running_time_in_sec / scale); in GetComments()
507 if (other || (IsMonitoredAtAllTime(otherScale) && IsMonitoredAtAllTime(scale))) { in GetComments()
520 if ((other || (IsMonitoredAtAllTime(otherScale) && IsMonitoredAtAllTime(scale))) && in GetComments()
529 IsMonitoredAtAllTime(scale)))) { in GetComments()
530 double rate = it->second->eventCount / (running_time_in_sec / scale); in GetComments()