MCPcopy Index your code
hub / github.com/nodejs/node / GetCPUPathForId

Method GetCPUPathForId

deps/v8/tools/run_perf.py:1105–1109  ·  view source on GitHub ↗
(cpu_index)

Source from the content-addressed store, hash-verified

1103
1104 @staticmethod
1105 def GetCPUPathForId(cpu_index):
1106 ret = '/sys/devices/system/cpu/cpu'
1107 ret += str(cpu_index)
1108 ret += '/cpufreq/scaling_governor'
1109 return ret
1110
1111 @staticmethod
1112 def GetCPUGovernor():

Callers 2

GetCPUGovernorMethod · 0.80
SetCPUGovernorMethod · 0.80

Calls 1

strFunction · 0.85

Tested by

no test coverage detected