Home
last modified time | relevance | path

Searched refs:percent (Results 1 – 25 of 74) sorted by relevance

123

/system/update_engine/scripts/update_payload/
Dformat_utils.py51 percent = 0
55 percent = num * 100 * factor // total
56 if percent:
61 whole, frac = divmod(percent, factor)
/system/bt/test/
Dgen_coverage.py119 percent = covered * 100.0 / count
120 value = "%.2f%% (%d/%d) " % (percent, covered, count)
122 if percent == 100:
124 if percent < 80.0:
/system/tools/xsdc/tests/resources/simple_type/
Dsimple_type.xsd10 <xs:simpleType name="percent">
17 <xs:union memberTypes="restrictedInts percent"/>
/system/extras/simpleperf/
Denvironment.h83 bool GetCpuTimeMaxPercent(size_t* percent);
84 bool SetCpuTimeMaxPercent(size_t percent);
Denvironment.cpp344 size_t percent; in SetPerfEventLimits() local
345 if (!GetCpuTimeMaxPercent(&percent) || percent == cpu_percent) { in SetPerfEventLimits()
398 bool GetCpuTimeMaxPercent(size_t* percent) { in GetCpuTimeMaxPercent() argument
399 return ReadUintFromProcFile("/proc/sys/kernel/perf_cpu_time_max_percent", percent); in GetCpuTimeMaxPercent()
402 bool SetCpuTimeMaxPercent(size_t percent) { in SetCpuTimeMaxPercent() argument
403 return WriteUintToProcFile("/proc/sys/kernel/perf_cpu_time_max_percent", percent); in SetCpuTimeMaxPercent()
/system/extras/iotop/
Diotop.cpp37 float percent = ns / stats.threads() / (time * NSEC_PER_SEC / 100.0f); in TimeToTgidPercent() local
38 return std::min(percent, 99.99f); in TimeToTgidPercent()
/system/extras/simpleperf/scripts/
Dreport_html.js482 let percent = (eventCount * 100.0 / totalEventCount).toFixed(2) + '%';
484 getHtml('b', {text: `${sampleWeight} (${percent})`})];
1057 let percent = eventCount * 100.0 / countForAllProcesses;
1058 return percent.toFixed(2) + '%';
1063 let percent = eventCount * 100.0 / totalCount.countForProcess;
1064 return percent.toFixed(2) + '%';
1069 let percent = eventCount * 100.0 / totalCount.countForThread;
1070 return percent.toFixed(2) + '%';
/system/logging/logcat/
Devent.logtags103 # sample_percent: the percent likelihood this query was logged
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/system/extras/simpleperf/doc/
Dexecutable_commands_reference.md392 To avoid taking too much time generating samples, kernel >= 3.10 sets the max percent of cpu time
394 hitting that limit. Simpleperf uses --cpu-percent option to adjust it, but it needs either root
398 # Record with sample frequency 10000, with max allowed cpu percent to be 50%.
399 $ simpleperf record -f 1000 -p 11904,11905 --duration 10 --cpu-percent 50
/system/extras/slideshow/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/system/core/libsync/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/system/extras/puncture_fs/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/system/extras/runconuid/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/system/extras/libfec/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/system/extras/mmap-perf/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/system/extras/ext4_utils/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/system/core/libutils/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/system/logging/logwrapper/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/system/core/run-as/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/system/incremental_delivery/incfs/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/system/extras/cpustats/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/system/extras/kexec_tools/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/system/extras/taskstats/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/system/logging/liblog/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the

123