Home
last modified time | relevance | path

Searched refs:percent (Results 1 – 25 of 75) 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/tools/xsdc/tests/resources/simple_type/
Dsimple_type.xsd10 <xs:simpleType name="percent">
17 <xs:union memberTypes="restrictedInts percent"/>
/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/extras/simpleperf/
Denvironment.h81 bool GetCpuTimeMaxPercent(size_t* percent);
82 bool SetCpuTimeMaxPercent(size_t percent);
Denvironment.cpp404 size_t percent; in SetPerfEventLimits() local
405 if (!GetCpuTimeMaxPercent(&percent) || percent == cpu_percent) { in SetPerfEventLimits()
458 bool GetCpuTimeMaxPercent(size_t* percent) { in GetCpuTimeMaxPercent() argument
459 return ReadUintFromProcFile("/proc/sys/kernel/perf_cpu_time_max_percent", percent); in GetCpuTimeMaxPercent()
462 bool SetCpuTimeMaxPercent(size_t percent) { in SetCpuTimeMaxPercent() argument
463 return WriteUintToProcFile("/proc/sys/kernel/perf_cpu_time_max_percent", percent); in SetCpuTimeMaxPercent()
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/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/core/adb/client/
Dcommandline.cpp977 int percent = static_cast<int>(xfer * 47LL / (sb.st_size ? sb.st_size : 1)); in adb_sideload_install() local
978 if (percent != last_percent) { in adb_sideload_install()
979 printf("\rserving: '%s' (~%d%%) ", filename, percent); in adb_sideload_install()
981 last_percent = percent; in adb_sideload_install()
/system/core/logcat/
Devent.logtags103 # sample_percent: the percent likelihood this query was logged
/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/libfec/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/system/extras/tests/cpueater/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/system/extras/sane_schedstat/
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/bootctl/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/system/incremental_delivery/libdataloader/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/system/extras/slideshow/
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/extras/verity/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/system/extras/memory_replay/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/system/core/liblog/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/system/core/libcutils/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/system/core/init/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/system/keymaster/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the

123