Home
last modified time | relevance | path

Searched refs:cpuFreq (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
DCpuMonitor.java70 private long[] cpuFreq; field in CpuMonitor
111 cpuFreq = new long [cpusPresent]; in init()
115 cpuFreq[i] = 0; // Frequency "not yet determined". in init()
149 if (cpuFreq[i] == 0) { in sampleCpuUtilization()
154 cpuFreq[i] = cpufreqMax; in sampleCpuUtilization()
158 lastSeenMaxFreq = cpuFreq[i]; // A valid, previously read value. in sampleCpuUtilization()
/external/lzma/CPP/7zip/UI/Common/
DBench.cpp62 static void SetComplexCommands(UInt32 complexInSeconds, UInt64 cpuFreq, UInt64 &complexInCommands) in SetComplexCommands() argument
67 if (cpuFreq < kMinFreq) cpuFreq = kMinFreq; in SetComplexCommands()
68 if (cpuFreq < kMaxFreq) in SetComplexCommands()
71 complexInCommands = complexInSeconds * cpuFreq; in SetComplexCommands()
73 complexInCommands = cpuFreq >> 2; in SetComplexCommands()
1596 …lts(IBenchPrintCallback &f, UInt64 usage, UInt64 rpu, UInt64 rating, bool showFreq, UInt64 cpuFreq) in PrintResults() argument
1603 if (cpuFreq == 0) in PrintResults()
1607 UInt64 ddd = cpuFreq * usage / 100; in PrintResults()
1611 PrintPercents(f, rating, cpuFreq, kFieldSize_Effec); in PrintResults()
1616 …allback *f, const CBenchInfo &info, UInt64 rating, bool showFreq, UInt64 cpuFreq, CTotalBenchRes *… in PrintResults() argument
[all …]
DBench.h27 virtual HRESULT SetFreq(bool showFreq, UInt64 cpuFreq) = 0;