Home
last modified time | relevance | path

Searched refs:cpuUsage (Results 1 – 25 of 26) sorted by relevance

12

/developtools/hiperf/test/unittest/common/native/
Dcpu_usage_test.cpp197 float cpuUsage = 0.0; in GetAverageCpuUsage() local
202 cpuUsage += GetCpuUsageRatio(pid); in GetAverageCpuUsage()
209 cpuUsage = HUNDRED * cpuUsage / count; in GetAverageCpuUsage()
210 return cpuUsage; in GetAverageCpuUsage()
225 float cpuUsage = GetAverageCpuUsage(pid, timeOut); variable
226 EXPECT_LE(cpuUsage, F100_FP_CPU_LIMIT_SYSTEM);
241 float cpuUsage = GetAverageCpuUsage(pid, timeOut); variable
242 EXPECT_LE(cpuUsage, F500_FP_CPU_LIMIT_SYSTEM);
257 float cpuUsage = GetAverageCpuUsage(pid, timeOut); variable
258 EXPECT_LE(cpuUsage, F1000_FP_CPU_LIMIT_SYSTEM);
[all …]
/developtools/smartperf_host/ide/test/trace/bean/
DCpuUsage.test.ts20 let cpuUsage = new CpuUsage(); variable
24 cpuUsage = {
38 expect(cpuUsage).not.toBeUndefined();
39 expect(cpuUsage).toMatchInlineSnapshot(
71 cpuUsage = {
78 expect(cpuUsage).toMatchInlineSnapshot(
/developtools/smartperf_host/trace_streamer/src/parser/htrace_pbreader_parser/
Dhtrace_cpu_data_parser.cpp44 auto cpuUsage = std::make_unique<TsCpuData>(); in Parse() local
46 cpuUsage->SetCpuUsage(ts); in Parse()
47 cpuUsage->SetExtInfo(cpuData.total_load(), userLoad, sysLoad, process_num); in Parse()
48 cpuData_.push_back(std::move(cpuUsage)); in Parse()
/developtools/profiler/host/smartperf/trace_streamer/src/parser/htrace_pbreader_parser/
Dhtrace_cpu_data_parser.cpp45 auto cpuUsage = std::make_unique<TsCpuData>(); in Parse() local
47 cpuUsage->SetCpuUsage(ts); in Parse()
48 cpuUsage->SetExtInfo(cpuData.total_load(), userLoad, sysLoad, process_num); in Parse()
49 cpuData_.push_back(std::move(cpuUsage)); in Parse()
/developtools/smartperf_host/ide/test/trace/component/trace/
DTimerShaftElement.test.ts74 timerShaftElement.cpuUsage = 'cpuUsage';
78 timerShaftElement.rangeRuler.cpuUsage = jest.fn(() => true);
79 expect(timerShaftElement.cpuUsage).toBeUndefined();
200 timerShaftElement.rangeRuler.cpuUsage = jest.fn(() => true);
201 expect(timerShaftElement.cpuUsage).toBe(undefined);
/developtools/smartperf_host/ide/test/trace/database/ui-worker/
DProcedureWorkerTimeline.test.ts127 rangeRuler.cpuUsage = true;
128 expect(rangeRuler.cpuUsage).toBeUndefined();
/developtools/profiler/device/plugins/process_plugin/test/unittest/
Dprocess_plugin_unittest.cpp55 double cpuUsage; member
165 double cpuUsage = static_cast<double>(cpuTimeMs) / bootTime * PERCENT; in GetCpuData() local
166 cpuDataVec.push_back({cpuUsage, 1, cpuTimeMs}); in GetCpuData()
232 EXPECT_FLOAT_EQ(cpuInfo.cpu_usage(), cpuDataVec[i].cpuUsage);
327 EXPECT_FLOAT_EQ(cpuInfo.cpu_usage(), cpuDataVec[i].cpuUsage);
/developtools/profiler/device/plugins/cpu_plugin/test/unittest/
Dcpu_data_plugin_unittest.cpp236 void GetCpuUsage(TestCpuUsage& cpuUsage, int64_t Hz) in GetCpuUsage() argument
243 cpuUsage.userLoad = (static_cast<double>(userTime) / bootTime) * PERCENT; in GetCpuUsage()
244 cpuUsage.sysLoad = (static_cast<double>(sysTime) / bootTime) * PERCENT; in GetCpuUsage()
245 cpuUsage.totalLoad = (static_cast<double>(totalTime) / bootTime) * PERCENT; in GetCpuUsage()
294 TestCpuUsage cpuUsage; variable
300 GetCpuUsage(cpuUsage, Hz);
310 EXPECT_FLOAT_EQ(cpuData.user_load(), cpuUsage.userLoad);
311 EXPECT_FLOAT_EQ(cpuData.sys_load(), cpuUsage.sysLoad);
312 EXPECT_FLOAT_EQ(cpuData.total_load(), cpuUsage.totalLoad);
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/
DTimerShaftElement.ts141 set cpuUsage(value: Array<{ cpu: number; ro: number; rate: number }>) { method in TimerShaftElement
145 this.rangeRuler.cpuUsage = this._cpuUsage;
192 this.rangeRuler.cpuUsage = [];
/developtools/smartperf_host/ide/src/trace/component/trace/
DTimerShaftElement.ts141 set cpuUsage(value: Array<{ cpu: number; ro: number; rate: number }>) { method in TimerShaftElement
145 this.rangeRuler.cpuUsage = this._cpuUsage;
192 this.rangeRuler.cpuUsage = [];
/developtools/smartperf_host/ide/test/trace/database/logic-worker/
DProcedureLogicWorkerSchedulingAnalysis.test.ts70 let cpuUsage = new CpuUsage(); variable
71 expect(cpuUsage).not.toBeUndefined();
/developtools/profiler/host/smartperf/ide/src/trace/component/chart/
DSpChartManager.ts196 if (this.trace.timerShaftEL) this.trace.timerShaftEL.cpuUsage = rates;
/developtools/smartperf_host/ide/test/trace/component/trace/timer-shaft/
DRangeRuler.test.ts58 rangeRuler.cpuUsage = [
/developtools/smartperf_host/ide/src/trace/component/chart/
DSpChartManager.ts210 if (this.trace.timerShaftEL) this.trace.timerShaftEL.cpuUsage = rates;
/developtools/profiler/hidebug/interfaces/js/kits/napi/
Dnapi_hidebug.cpp404 double cpuUsage = double(tmpCpuUsage); in GetCpuUsage() local
405 napi_create_double(env, cpuUsage, &cpuUsageValue); in GetCpuUsage()
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/timer-shaft/
DRangeRuler.ts144 set cpuUsage(value: Array<{ cpu: number; ro: number; rate: number }>) { method in RangeRuler
/developtools/smartperf_host/ide/src/trace/database/ui-worker/
DProcedureWorkerTimeline.ts454 set cpuUsage(value: Array<{ cpu: number; ro: number; rate: number }>) {
/developtools/profiler/host/smartperf/ide/src/trace/database/ui-worker/
DProcedureWorkerTimeline.ts454 set cpuUsage(value: Array<{ cpu: number; ro: number; rate: number }>) {
/developtools/profiler/host/smartperf/ide/src/trace/component/
DSpRecyclerSystemTrace.ts347 if (this.timerShaftEL) this.timerShaftEL.cpuUsage = rates;
/developtools/smartperf_host/ide/src/trace/component/
DSpRecyclerSystemTrace.ts347 if (this.timerShaftEL) this.timerShaftEL.cpuUsage = rates;
/developtools/smartperf_host/trace_streamer/test/unittest/
Dtable_test.cpp707 double cpuUsage = 1; variable
715 … parentProcessID, uid, userName, cpuUsage, pssInfo,
/developtools/smartperf_host/ide/src/trace/component/trace/timer-shaft/
DRangeRuler.ts153 set cpuUsage(value: Array<{ cpu: number; ro: number; rate: number }>) { method in RangeRuler
/developtools/profiler/host/smartperf/trace_streamer/src/trace_data/
Dtrace_stdtype.cpp1225 double cpuUsage, in AppendNewData() argument
1239 cpuUsage_.emplace_back(cpuUsage); in AppendNewData()
Dtrace_stdtype.h1213 double cpuUsage,
/developtools/smartperf_host/trace_streamer/src/trace_data/
Dtrace_stdtype.cpp1232 double cpuUsage, in AppendNewData() argument
1246 cpuUsage_.emplace_back(cpuUsage); in AppendNewData()

12