/dports/science/opensph/sph-7de6c044339f649e3d19e61f735a6a24572b792a/core/system/ |
H A D | Profiler.cpp | 11 cpuUsage.thread = std::thread([this] { in Profiler() 14 if (usage && !cpuUsage.currentScope.empty()) { in Profiler() 15 ScopeRecord& scope = records[cpuUsage.currentScope]; in Profiler() 16 … scope.cpuUsage = (scope.cpuUsage * scope.weight + usage.value()) / (scope.weight + 1); in Profiler() 26 cpuUsage.thread.join(); in ~Profiler() 33 stats.push(ScopeStatistics{ iter.first, iter.second.duration, 0, iter.second.cpuUsage }); in getStatistics() 52 << std::fixed << 100._f * s.cpuUsage << "%"; in printStatistics()
|
H A D | Profiler.h | 87 Float cpuUsage; member 101 Float cpuUsage = 0._f; member 113 } cpuUsage; variable 133 String __previousScope = cpuUsage.currentScope; in makeScopedTimer() 134 cpuUsage.currentScope = name; in makeScopedTimer() 137 cpuUsage.currentScope = __previousScope; in makeScopedTimer()
|
/dports/net/storj/storj-1.45.3/vendor/github.com/cloudfoundry/gosigar/ |
H A D | concrete_sigar.go | 16 var cpuUsage Cpu 20 cpuUsage.Get() 21 samplesCh <- cpuUsage 28 previousCpuUsage := cpuUsage 30 cpuUsage.Get() 33 case samplesCh <- cpuUsage.Delta(previousCpuUsage):
|
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/util/ |
H A D | CpuTimeTracker.java | 42 float cpuUsage; field in CpuTimeTracker 47 this.cpuUsage = UNAVAILABLE; in CpuTimeTracker() 69 return cpuUsage; in getCpuTrackerUsagePercent() 75 cpuUsage = in getCpuTrackerUsagePercent() 81 return cpuUsage; in getCpuTrackerUsagePercent() 96 sb.append(" CpuUsage " + this.cpuUsage); in toString()
|
H A D | WindowsResourceCalculatorPlugin.java | 43 float cpuUsage; field in WindowsResourceCalculatorPlugin 63 cpuUsage = -1; in reset() 100 cpuUsage = (cumulativeCpuTimeMs - lastCumCpuTimeMs) in refreshIfNeeded() 168 return cpuUsage; in getCpuUsage()
|
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/policies/ |
H A D | TestDominantResourceFairnessPolicy.java | 47 private Schedulable createSchedulable(int memUsage, int cpuUsage) { in createSchedulable() argument 48 return createSchedulable(memUsage, cpuUsage, ResourceWeights.NEUTRAL, 0, 0); in createSchedulable() 51 private Schedulable createSchedulable(int memUsage, int cpuUsage, in createSchedulable() argument 53 return createSchedulable(memUsage, cpuUsage, ResourceWeights.NEUTRAL, in createSchedulable() 57 private Schedulable createSchedulable(int memUsage, int cpuUsage, in createSchedulable() argument 59 return createSchedulable(memUsage, cpuUsage, weights, 0, 0); in createSchedulable() 63 private Schedulable createSchedulable(int memUsage, int cpuUsage, in createSchedulable() argument 65 Resource usage = BuilderUtils.newResource(memUsage, cpuUsage); in createSchedulable()
|
/dports/games/spring/spring_98.0/rts/Game/GUI/ |
H A D | PlayerRosterDrawer.cpp | 64 …float4 cpucolor(!p->spectator && p->cpuUsage > 0.75f && gs->speedFactor < gs->wantedSpeedFactor * … in Draw() 65 (currentTime & 128) ? 0.5f : std::max(0.01f, std::min(1.0f, p->cpuUsage * 2.0f / 0.75f)), in Draw() 66 std::min(1.0f, std::max(0.01f, (1.0f - p->cpuUsage / 0.75f) * 2.0f)), 0.01f, 1.0f); in Draw() 75 p->cpuUsage * 100.0f, in Draw() 83 …p->team, prefix.c_str(), color[0], color[1], color[2], p->name.c_str(), (((int)p->cpuUsage) & 0x1)… in Draw() 84 ((int)p->cpuUsage) & 0xFE, (((int)p->cpuUsage)>>8)*1000); in Draw()
|
H A D | PlayerRoster.cpp | 281 if (aP->cpuUsage < bP->cpuUsage) { return -1; } in ComparePlayerCPUs() 282 if (aP->cpuUsage > bP->cpuUsage) { return +1; } in ComparePlayerCPUs()
|
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/test/java/org/apache/hadoop/yarn/util/ |
H A D | TestWindowsResourceCalculatorPlugin.java | 50 assertTrue(tester.cpuUsage == -1); in parseSystemInfoString() 61 assertTrue(tester.cpuUsage == -1); in refreshAndCpuUsage() 67 assertTrue(tester.cpuUsage == -1); in refreshAndCpuUsage() 74 assertTrue(tester.cpuUsage >= 0.1); in refreshAndCpuUsage()
|
/dports/net-mgmt/bosun/bosun-0.9.0-preview/vendor/github.com/google/cadvisor/info/v1/ |
H A D | container_test.go | 70 func createStats(cpuUsage, memUsage uint64, timestamp time.Time) *ContainerStats { argument 72 stats.Cpu.Usage.PerCpu = []uint64{cpuUsage} 73 stats.Cpu.Usage.Total = cpuUsage 75 stats.Cpu.Usage.User = cpuUsage
|
/dports/sysutils/kubectl/kubernetes-1.22.2/test/e2e/windows/ |
H A D | cpu_limits.go | 76 cpuUsage := float64(0) 81 cpuUsage = float64(*pod.CPU.UsageNanoCores) * 1e-9 86 framework.Logf("Pod %s usage: %v", p.Name, cpuUsage) 87 framework.ExpectEqual(cpuUsage > 0, true, "Pods reported usage should be > 0") 88 …framework.ExpectEqual((.5*1.05) > cpuUsage, true, "Pods reported usage should not exceed limit by …
|
/dports/sysutils/kubectl/kubernetes-1.22.2/test/e2e/node/ |
H A D | node_problem_detector.go | 127 cpuUsage, uptime := getCPUStat(f, host) 128 cpuUsageStats[host] = append(cpuUsageStats[host], cpuUsage) 171 cpuUsage, uptime := getCPUStat(f, host) 172 cpuUsageStats[host] = append(cpuUsageStats[host], cpuUsage) 176 cpuUsage, rss, workingSet := getNpdPodStat(f, nodes[j].Name) 177 cpuUsageStats[host] = append(cpuUsageStats[host], cpuUsage) 192 cpuUsage := cpuUsageStats[host][1] - cpuUsageStats[host][0] 194 cpuStatsMsg += fmt.Sprintf(" %s[%.3f];", nodes[i].Name, cpuUsage/totaltime) 312 func getNpdPodStat(f *framework.Framework, nodeName string) (cpuUsage, rss, workingSet float64) { 321 cpuUsage = float64(*pod.CPU.UsageNanoCores) * 1e-9
|
/dports/multimedia/obs-studio/obs-studio-27.1.3/UI/ |
H A D | window-basic-status-bar.cpp | 18 cpuUsage(new QLabel), in OBSBasicStatusBar() 39 cpuUsage->setText(QString("CPU: 0.0%, 0.00 fps")); in OBSBasicStatusBar() 68 cpuUsage->setAlignment(Qt::AlignRight); in OBSBasicStatusBar() 69 cpuUsage->setAlignment(Qt::AlignVCenter); in OBSBasicStatusBar() 77 cpuUsage->setIndent(20); in OBSBasicStatusBar() 85 addPermanentWidget(cpuUsage); in OBSBasicStatusBar() 239 cpuUsage->setText(text); in UpdateCPUUsage() 240 cpuUsage->setMinimumWidth(cpuUsage->width()); in UpdateCPUUsage()
|
/dports/misc/perkeep/perkeep-0.11/internal/osutil/ |
H A D | cpu.go | 21 var cpuUsage func() time.Duration var 26 if f := cpuUsage; f != nil {
|
/dports/www/p5-AMF-Perl/AMF-Perl-0.15/doc/ |
H A D | cpu.pl | 32 package cpuUsage; package 60 $gateway->registerService("CpuUsage",new cpuUsage());
|
/dports/www/p5-AMF-Perl/AMF-Perl-0.15/doc/examples/cpu/ |
H A D | cpu.pl | 33 package cpuUsage; package 62 $gateway->registerService("CpuUsage",new cpuUsage());
|
/dports/net-mgmt/librenms/librenms-21.5.1/mibs/fiberhome/ |
H A D | WRI-CPU-MIB | 55 cpuUsage Counter32, 79 cpuUsage OBJECT-TYPE 178 OBJECTS {cpuUsage,cpuHthreshold,cpuLthreshold} 185 OBJECTS {cpuUsage,cpuHthreshold,cpuLthreshold} 192 OBJECTS {cpuUsage,cpuHthreshold,cpuLthreshold}
|
/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/Core/ |
H A D | PerformanceTracker.cpp | 93 string cpuUsage = std::to_string(_data.updateCpu); in ProcessEndOfFrame() local 94 cpuUsage = std::string(3 - cpuUsage.size(), ' ') + cpuUsage; in ProcessEndOfFrame() 95 …hud->DrawString(46, 224, "CPU: " + cpuUsage + "%", Colors::OpaqueWhite, Colors::Transparent, 1, fr… in ProcessEndOfFrame()
|
/dports/net-mgmt/observium/observium/mibs/fiberhome/ |
H A D | WRI-CPU-MIB | 55 cpuUsage Counter32, 79 cpuUsage OBJECT-TYPE 178 OBJECTS {cpuUsage,cpuHthreshold,cpuLthreshold} 185 OBJECTS {cpuUsage,cpuHthreshold,cpuLthreshold} 192 OBJECTS {cpuUsage,cpuHthreshold,cpuLthreshold}
|
/dports/games/spring/spring_98.0/rts/Game/Players/ |
H A D | PlayerBase.h | 42 float GetCPUUsage() const { return cpuUsage; } in GetCPUUsage() 53 float cpuUsage; variable
|
H A D | PlayerBase.cpp | 17 CR_MEMBER(cpuUsage), 26 cpuUsage (0.0f), in PlayerBase()
|
/dports/devel/hadoop/hadoop-1.2.1/src/mapred/org/apache/hadoop/mapred/ |
H A D | TaskTrackerStatus.java | 76 private float cpuUsage = UNAVAILABLE; // in % field in TaskTrackerStatus.ResourceStatus 298 public void setCpuUsage(float cpuUsage) { in setCpuUsage() argument 299 this.cpuUsage = cpuUsage; in setCpuUsage() 309 return cpuUsage; in getCpuUsage()
|
/dports/net-mgmt/thanos/thanos-0.11.0/vendor/github.com/elastic/go-sysinfo/providers/darwin/ |
H A D | syscall_darwin_amd64.go | 168 type cpuUsage struct { struct 175 func getHostCPULoadInfo() (*cpuUsage, error) { 177 var cpu cpuUsage
|
/dports/net/traefik/traefik-2.6.1/vendor/github.com/elastic/go-sysinfo/providers/darwin/ |
H A D | syscall_darwin_amd64.go | 168 type cpuUsage struct { struct 175 func getHostCPULoadInfo() (*cpuUsage, error) { 177 var cpu cpuUsage
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/jdk.jconsole/share/classes/sun/tools/jconsole/ |
H A D | SummaryTab.java | 359 float cpuUsage = 363 cpuUsage = Math.max(0F, cpuUsage); 366 Math.round(cpuUsage * Math.pow(10.0, CPU_DECIMALS))); 368 String.format("%."+CPU_DECIMALS+"f", cpuUsage)));
|