Home
last modified time | relevance | path

Searched refs:overhead (Results 1 – 25 of 254) sorted by relevance

1234567891011

/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/
Dcount_instructions.c30 u64 overhead, bool report) in do_count_loop() argument
45 expected = instructions + overhead; in do_count_loop()
53 printf("Looped for %llu instructions, overhead %llu\n", instructions, overhead); in do_count_loop()
76 u64 current, overhead; in determine_overhead() local
80 overhead = events[0].result.value; in determine_overhead()
85 if (current < overhead) { in determine_overhead()
86 printf("Replacing overhead %llu with %llu\n", overhead, current); in determine_overhead()
87 overhead = current; in determine_overhead()
91 return overhead; in determine_overhead()
97 u64 overhead; in test_body() local
[all …]
/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/
Dinstruction_count_test.c26 uint64_t overhead, bool report) in do_count_loop() argument
46 expected = instructions + overhead; in do_count_loop()
51 printf("Looped for %lu instructions, overhead %lu\n", instructions, overhead); in do_count_loop()
72 uint64_t current, overhead; in determine_overhead() local
76 overhead = event->result.value; in determine_overhead()
81 if (current < overhead) { in determine_overhead()
82 printf("Replacing overhead %lu with %lu\n", overhead, current); in determine_overhead()
83 overhead = current; in determine_overhead()
87 return overhead; in determine_overhead()
112 uint64_t overhead; in instruction_count() local
[all …]
/external/valgrind/coregrind/m_aspacemgr/
Daspacemgr-segnames.c124 overhead = refcount_size + slotsize_size, enumerator
150 aspacem_assert(ix >= overhead && ix <= segnames_used); in is_freeslot()
157 aspacem_assert(ix >= overhead && ix <= segnames_used); in put_slotindex()
159 aspacem_assert(slotindex >= overhead && slotindex <= segnames_used); in put_slotindex()
171 aspacem_assert(ix >= overhead && ix <= segnames_used); in get_slotindex()
189 aspacem_assert(ix >= overhead && ix <= segnames_used); in put_slotsize()
198 aspacem_assert(ix >= overhead && ix <= segnames_used); in get_slotsize()
211 aspacem_assert(ix >= overhead && ix <= segnames_used); in put_refcount()
221 aspacem_assert(ix >= overhead && ix <= segnames_used); in get_refcount()
233 aspacem_assert(ix >= overhead && ix <= segnames_used); in inc_refcount()
[all …]
/external/apache-http/android/src/com/android/internal/http/multipart/
DPart.java330 ByteArrayOutputStream overhead = new ByteArrayOutputStream(); in length() local
331 sendStart(overhead); in length()
332 sendDispositionHeader(overhead); in length()
333 sendContentTypeHeader(overhead); in length()
334 sendTransferEncodingHeader(overhead); in length()
335 sendEndOfHeader(overhead); in length()
336 sendEnd(overhead); in length()
337 return overhead.size() + lengthOfData(); in length()
/external/strace/
Dcount.c130 static struct timeval overhead = { -1, -1 }; variable
150 overhead.tv_sec = n / 1000000; in set_overhead()
151 overhead.tv_usec = n % 1000000; in set_overhead()
174 if (overhead.tv_sec == -1) { in call_summary_pers()
175 tv_mul(&overhead, &shortest, 8); in call_summary_pers()
176 tv_div(&overhead, &overhead, 10); in call_summary_pers()
182 tv_mul(&dtv, &overhead, counts[i].calls); in call_summary_pers()
/external/libchrome/base/trace_event/
Dtrace_buffer.cc107 TraceEventMemoryOverhead* overhead) override { in EstimateTraceMemoryOverhead() argument
108 overhead->Add("TraceBufferRingBuffer", sizeof(*this)); in EstimateTraceMemoryOverhead()
114 chunks_[chunk_index]->EstimateTraceMemoryOverhead(overhead); in EstimateTraceMemoryOverhead()
218 TraceEventMemoryOverhead* overhead) override { in EstimateTraceMemoryOverhead() argument
223 overhead->Add("TraceBufferVector", chunks_ptr_vector_allocated_size, in EstimateTraceMemoryOverhead()
230 chunk->EstimateTraceMemoryOverhead(overhead); in EstimateTraceMemoryOverhead()
264 TraceEventMemoryOverhead* overhead) { in EstimateTraceMemoryOverhead() argument
279 overhead->Update(*cached_overhead_estimate_); in EstimateTraceMemoryOverhead()
293 overhead->Add("TraceEvent (unused)", in EstimateTraceMemoryOverhead()
297 overhead->Update(*cached_overhead_estimate_); in EstimateTraceMemoryOverhead()
Dheap_profiler_type_name_deduplicator.cc97 TraceEventMemoryOverhead* overhead) { in EstimateTraceMemoryOverhead() argument
102 overhead->Add("TypeNameDeduplicator", in EstimateTraceMemoryOverhead()
Dprocess_memory_dump_unittest.cc95 TraceEventMemoryOverhead overhead; in TEST() local
108 pmd1->DumpHeapUsage(metrics_by_context, overhead, "pmd1/heap_dump1"); in TEST()
109 pmd1->DumpHeapUsage(metrics_by_context, overhead, "pmd1/heap_dump2"); in TEST()
116 pmd2->DumpHeapUsage(metrics_by_context, overhead, "pmd2/heap_dump1"); in TEST()
117 pmd2->DumpHeapUsage(metrics_by_context, overhead, "pmd2/heap_dump2"); in TEST()
Dmalloc_dump_provider.cc181 TraceEventMemoryOverhead overhead; in OnMemoryDump() local
193 allocation_register_->EstimateTraceMemoryOverhead(&overhead); in OnMemoryDump()
196 pmd->DumpHeapUsage(metrics_by_context, overhead, "malloc"); in OnMemoryDump()
/external/iproute2/tc/
Dq_tbf.c47 unsigned short overhead=0; in tbf_parse_opt() local
147 if (overhead) { in tbf_parse_opt()
151 if (get_u16(&overhead, *argv, 10)) { in tbf_parse_opt()
215 opt.rate.overhead = overhead; in tbf_parse_opt()
224 opt.peakrate.overhead = overhead; in tbf_parse_opt()
316 if (qopt->rate.overhead) { in tbf_print_opt()
317 fprintf(f, "overhead %d", qopt->rate.overhead); in tbf_print_opt()
Dtc_stab.c49 s->overhead != 0; in check_size_table_opts()
80 if (s.overhead) in parse_size_table()
82 if (get_integer(&s.overhead, *argv, 10)) in parse_size_table()
126 if (s.overhead) in print_size_table()
127 fprintf(fp, "overhead %d ", s.overhead); in print_size_table()
Dq_htb.c121 unsigned short overhead = 0; in htb_parse_class_opt() local
147 if (get_u16(&overhead, *argv, 10)) { in htb_parse_class_opt()
232 opt.ceil.overhead = overhead; in htb_parse_class_opt()
233 opt.rate.overhead = overhead; in htb_parse_class_opt()
306 if (hopt->rate.overhead) in htb_print_opt()
307 fprintf(f, "overhead %u ", hopt->rate.overhead); in htb_print_opt()
Dm_police.c136 unsigned short overhead=0; in act_parse_police() local
240 if (get_u16(&overhead, *argv, 10)) { in act_parse_police()
277 p.rate.overhead = overhead; in act_parse_police()
287 p.peakrate.overhead = overhead; in act_parse_police()
362 fprintf(f, "overhead %ub ", p->rate.overhead); in print_police()
Dq_cbq.c56 unsigned short overhead=0; in cbq_parse_opt() local
120 if (get_u16(&overhead, *argv, 10)) { in cbq_parse_opt()
153 r.overhead = overhead; in cbq_parse_opt()
195 unsigned short overhead=0; in cbq_parse_class_opt() local
337 if (get_u16(&overhead, *argv, 10)) { in cbq_parse_class_opt()
364 r.overhead = overhead; in cbq_parse_class_opt()
498 if (r->overhead) in cbq_print_opt()
499 fprintf(f, "overhead %ub ", r->overhead); in cbq_print_opt()
/external/ltp/testcases/kernel/sched/tool/
Dtime-schedule.c102 signed long overhead, total_diffs; in main() local
204 overhead = 1000000 * (after.tv_sec - before.tv_sec); in main()
205 overhead += after.tv_usec - before.tv_usec; in main()
250 (double)overhead / 20.0); in main()
255 (double)min_diff / 20.0, (double)(min_diff - overhead) / 20.0); in main()
258 (double)median / 20.0, (double)(median - overhead) / 20.0); in main()
261 (double)(total_diffs - overhead * MAX_ITERATIONS) / in main()
264 (double)max_diff / 20.0, (double)(max_diff - overhead) / 20.0); in main()
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dtmmbr.h40 void WithOverhead(uint16_t overhead) { in WithOverhead() argument
41 assert(overhead <= 0x1ff); in WithOverhead()
42 tmmbr_item_.MeasuredOverhead = overhead; in WithOverhead()
Dtmmbn.cc90 bool Tmmbn::WithTmmbr(uint32_t ssrc, uint32_t bitrate_kbps, uint16_t overhead) { in WithTmmbr() argument
91 assert(overhead <= 0x1ff); in WithTmmbr()
99 tmmbn_item.MeasuredOverhead = overhead; in WithTmmbr()
/external/e2fsprogs/lib/ext2fs/
Dinitialize.c96 unsigned int overhead = 0; in ext2fs_initialize() local
392 overhead = (int) (3 + fs->inode_blocks_per_group + in ext2fs_initialize()
401 overhead++; in ext2fs_initialize()
403 overhead += fs->desc_blocks; in ext2fs_initialize()
406 if (overhead > super->s_blocks_per_group) { in ext2fs_initialize()
418 overhead = (int) (2 + fs->inode_blocks_per_group); in ext2fs_initialize()
432 overhead += 1 + fs->desc_blocks + super->s_reserved_gdt_blocks; in ext2fs_initialize()
435 if ((fs->group_desc_count == 1) && rem && (rem < overhead)) { in ext2fs_initialize()
439 if (rem && (rem < overhead+50)) { in ext2fs_initialize()
/external/v8/src/heap/
Dobject-stats.cc352 size_t overhead) { in RecordFixedArrayHelper() argument
356 overhead); in RecordFixedArrayHelper()
380 size_t overhead = array->Size() - used - in RecordHashTableHelper() local
383 RecordFixedArrayHelper(parent, array, subtype, overhead); in RecordHashTableHelper()
387 size_t overhead = 0; in RecordJSObjectDetails() local
398 overhead = elements->Size() - used - FixedArray::kHeaderSize; in RecordJSObjectDetails()
401 elements->Size(), overhead); in RecordJSObjectDetails()
405 overhead = 0; in RecordJSObjectDetails()
414 properties->Size(), overhead); in RecordJSObjectDetails()
424 size_t overhead = table->Size() - used; in RecordJSWeakCollectionDetails() local
[all …]
/external/pdfium/core/fxcrt/
Dcfx_string_data_template.h22 int overhead = in Create() local
26 nSize += overhead; in Create()
35 int usableLen = (totalSize - overhead) / sizeof(CharType); in Create()
/external/e2fsprogs/resize/
Dresize2fs.c694 blk64_t overhead = 0; in adjust_fs_info() local
722 overhead = (int) (2 + fs->inode_blocks_per_group); in adjust_fs_info()
737 overhead += 1 + fs->desc_blocks + in adjust_fs_info()
747 if ((fs->group_desc_count == 1) && rem && (rem < overhead)) in adjust_fs_info()
749 if ((fs->group_desc_count > 1) && rem && (rem < overhead+50)) { in adjust_fs_info()
2768 int overhead; in calc_group_overhead() local
2771 overhead = fs->inode_blocks_per_group + 2; in calc_group_overhead()
2776 overhead++; in calc_group_overhead()
2778 overhead += old_desc_blocks; in calc_group_overhead()
2780 overhead++; in calc_group_overhead()
[all …]
/external/iputils/
Dtracepath6.c63 int overhead; variable
343 if (sendto(fd, pktbuf, mtu-overhead, 0, (struct sockaddr *)&target, targetlen) > 0) in probe_ttl()
473 overhead = 48; in main()
476 if (mtu <= overhead) in main()
507 overhead = 28; in main()
510 if (mtu <= overhead) in main()
586 overhead, INT_MAX); in main()
/external/e2fsprogs/contrib/
Ddir2fs32 overhead="$(( sb_overhead + (per_grp_overhead * nr_groups) ))"
63 overhead="$((blocks - dir_blocks))"
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/perf/
DPerfOutputWriter.java73 double overhead = 100 * (subject - reference) / reference; in writeResult() local
77 Double.valueOf(overhead)); in writeResult()
/external/skia/bench/
Dnanobench.cpp256 double overhead = 0; in estimate_timer_overhead() local
259 overhead += now_ms() - start; in estimate_timer_overhead()
261 return overhead / FLAGS_overheadLoops; in estimate_timer_overhead()
319 static int setup_cpu_bench(const double overhead, Target* target, Benchmark* bench) { in setup_cpu_bench() argument
325 while (bench_plus_overhead < overhead) { in setup_cpu_bench()
328 bench->getUniqueName(), HUMANIZE(bench_plus_overhead), HUMANIZE(overhead)); in setup_cpu_bench()
352 const double numer = overhead / FLAGS_overheadGoal - overhead; in setup_cpu_bench()
353 const double denom = bench_plus_overhead - overhead; in setup_cpu_bench()
1166 const double overhead = estimate_timer_overhead(); in main() local
1167 SkDebugf("Timer overhead: %s\n", HUMANIZE(overhead)); in main()
[all …]

1234567891011