Home
last modified time | relevance | path

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

123

/system/update_engine/scripts/update_payload/
Dformat_utils.py49 percent = 0
53 percent = num * 100 * factor / total
54 if percent:
59 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.py115 percent = covered * 100.0 / count
116 value = "%.2f%% (%d/%d) " % (percent, covered, count)
118 if percent == 100:
120 if percent < 80.0:
/system/extras/simpleperf/
Denvironment.h80 bool GetCpuTimeMaxPercent(size_t* percent);
81 bool SetCpuTimeMaxPercent(size_t percent);
Denvironment.cpp420 size_t percent; in SetPerfEventLimits() local
421 if (!GetCpuTimeMaxPercent(&percent) || percent == cpu_percent) { in SetPerfEventLimits()
474 bool GetCpuTimeMaxPercent(size_t* percent) { in GetCpuTimeMaxPercent() argument
475 return ReadUintFromProcFile("/proc/sys/kernel/perf_cpu_time_max_percent", percent); in GetCpuTimeMaxPercent()
478 bool SetCpuTimeMaxPercent(size_t percent) { in SetCpuTimeMaxPercent() argument
479 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.cpp955 int percent = static_cast<int>(xfer * 47LL / (sb.st_size ? sb.st_size : 1)); in adb_sideload_install() local
956 if (percent != last_percent) { in adb_sideload_install()
957 printf("\rserving: '%s' (~%d%%) ", filename, percent); in adb_sideload_install()
959 last_percent = percent; in adb_sideload_install()
/system/core/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/core/liblog/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/system/core/libpixelflinger/
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/cpustats/
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/core/libcutils/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/system/core/libgrallocusage/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/system/extras/postinst/
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/extras/verity/
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/core/libnetutils/
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/extras/tests/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the

123