Home
last modified time | relevance | path

Searched refs:percentage (Results 1 – 15 of 15) sorted by relevance

/system/update_engine/update_manager/
Dstaging_utils.cc49 if (staging_schedule.back().percentage != 100) { in GetStagingSchedule()
51 << staging_schedule.back().percentage; in GetStagingSchedule()
68 int percentage = staging_pair.percentage; in GetStagingSchedule() local
69 if (previous_percentage >= percentage) { in GetStagingSchedule()
72 << " Current value: " << percentage; in GetStagingSchedule()
75 previous_percentage = percentage; in GetStagingSchedule()
90 if (percentage_position <= staging_pair.percentage) { in CalculateWaitTimeInDaysFromSchedule()
/system/extras/simpleperf/scripts/
Dreport.py52 def __init__(self, percentage, function_name): argument
53 self.percentage = percentage
69 strs.append('CallTreeNode percentage = %.2f' % self.percentage)
171 percentage = float(m.group(1))
174 percentage = 100.0
177 node = CallTreeNode(percentage, function_name)
252 if node.percentage != 100.0:
253 percentage_str = '%.2f%% ' % node.percentage
Dreport_html.js1418 let percentage = '';
1420 percentage = match[1];
1422 thisObj.svg.find(`#percent_text_${thisObj.id}`).text(percentage);
/system/extras/simpleperf/
Dcmd_trace_sched.cpp339 double percentage = 0; in ReportProcessInfo() member
350 entry.percentage = 0.0; in ReportProcessInfo()
352 entry.percentage = 100.0 * process.total_runtime_in_ns / total_runtime_in_ns; in ReportProcessInfo()
355 if (entry.percentage < 0.01) { in ReportProcessInfo()
366 entry.percentage = 0.0; in ReportProcessInfo()
368 entry.percentage = 100.0 * thread->total_runtime_in_ns / total_runtime_in_ns; in ReportProcessInfo()
371 if (entry.percentage < 0.01) { in ReportProcessInfo()
389 return StringPrintf("%.2f%%", entry->percentage); in ReportProcessInfo()
408 double percentage = 100.0 * thread->spin_info.max_rate; in ReportProcessInfo() local
419 percentage); in ReportProcessInfo()
DSampleDisplayer.h35 double percentage = (total_period != 0) ? 100.0 * period / total_period : 0.0; in DisplayAccumulatedOverhead() local
36 return android::base::StringPrintf("%.2f%%", percentage); in DisplayAccumulatedOverhead()
48 double percentage = (total_period != 0) ? 100.0 * period / total_period : 0.0; in DisplaySelfOverhead() local
49 return android::base::StringPrintf("%.2f%%", percentage); in DisplaySelfOverhead()
142 double percentage = in DisplayCallGraphEntry() local
144 if (percentage < percent_limit_) { in DisplayCallGraphEntry()
147 percentage_s = android::base::StringPrintf("--%.2f%%-- ", percentage); in DisplayCallGraphEntry()
Dcmd_kmem.cpp693 double percentage = 0.0; in PrintSlabReportContext() local
695 percentage = 100.0 * fragment / slab_sample_tree_.total_allocated_bytes; in PrintSlabReportContext()
697 fprintf(fp, "Total fragment: %" PRIu64 ", %f%%\n", fragment, percentage); in PrintSlabReportContext()
701 percentage = 0.0; in PrintSlabReportContext()
703 percentage = 100.0 * slab_sample_tree_.nr_cross_cpu_allocations / in PrintSlabReportContext()
707 slab_sample_tree_.nr_cross_cpu_allocations, percentage); in PrintSlabReportContext()
/system/update_engine/binder_bindings/android/os/
DIUpdateEngineCallback.aidl22 void onStatusUpdate(int status_code, float percentage); in onStatusUpdate() argument
/system/extras/simpleperf/scripts/inferno/
Dscript.js264 let percentage = match[2];
267 percentageTextElement.textContent = percentage;
/system/extras/perfprofd/
Dperfprofd_record.proto56 // 100 minus the idle percentage).
Dperf_profile.proto128 // 100 minus the idle percentage).
/system/gsid/
Dgsi_tool.cpp171 int percentage = (progress.bytes_processed * 100) / progress.total_bytes; in Display() local
183 fprintf(stdout, "\r%-15s%6d%% ", progress.step.c_str(), percentage); in Display()
/system/core/fs_mgr/
Dfs_mgr_fstab.cpp75 off64_t CalculateZramSize(int percentage) { in CalculateZramSize() argument
79 total *= percentage; in CalculateZramSize()
/system/extras/simpleperf/doc/
Dinferno.md90 #### High percentage of lost samples
DREADME.md569 event is only monitored for part of the total time. In the example below, there is a percentage at
570 the end of each row, showing the percentage of the total time that each event was actually
903 column is Overhead, which shows the percentage of events inside the current sample entry in total
904 events. As the perf event is cpu-cycles, the overhead is the percentage of CPU cycles used in each
/system/core/init/
DREADME.md242 bytes and `limit_percent` which is interpreted as a percentage of the size