/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/ |
instruction_count_test.c | 26 uint64_t overhead, bool report) 46 expected = instructions + overhead; 51 printf("Looped for %lu instructions, overhead %lu\n", instructions, overhead); 72 uint64_t current, overhead; local 76 overhead = event->result.value; 81 if (current < overhead) { 82 printf("Replacing overhead %lu with %lu\n", overhead, current); 83 overhead = current 112 uint64_t overhead; local [all...] |
/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ |
count_instructions.c | 30 u64 overhead, bool report) 45 expected = instructions + overhead; 53 printf("Looped for %llu instructions, overhead %llu\n", instructions, overhead); 76 u64 current, overhead; local 80 overhead = events[0].result.value; 85 if (current < overhead) { 86 printf("Replacing overhead %llu with %llu\n", overhead, current); 87 overhead = current 97 u64 overhead; local [all...] |
/external/valgrind/coregrind/m_aspacemgr/ |
aspacemgr-segnames.c | 37 (1) a fixed size overhead of length 4 bytes 48 | overhead | payload | 59 identified by the leftmost bit in the overhead field, the so called F-bit. 79 overhead). Ah well -- the name sticks. 100 for (ix = overhead; (size = get_slotsize(ix)) != 0; ix += size + overhead) { 124 overhead = refcount_size + slotsize_size, enumerator in enum:__anon35457 150 aspacem_assert(ix >= overhead && ix <= segnames_used); 157 aspacem_assert(ix >= overhead && ix <= segnames_used); 159 aspacem_assert(slotindex >= overhead && slotindex <= segnames_used) [all...] |
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/ |
tmmbr.h | 40 void WithOverhead(uint16_t overhead) { 41 assert(overhead <= 0x1ff); 42 tmmbr_item_.MeasuredOverhead = overhead;
|
tmmbn.h | 36 bool WithTmmbr(uint32_t ssrc, uint32_t bitrate_kbps, uint16_t overhead);
|
tmmbn.cc | 75 // | MxTBR Exp | MxTBR Mantissa |Measured Overhead| 90 bool Tmmbn::WithTmmbr(uint32_t ssrc, uint32_t bitrate_kbps, uint16_t overhead) { 91 assert(overhead <= 0x1ff); 99 tmmbn_item.MeasuredOverhead = overhead;
|
/external/libchrome/base/trace_event/ |
heap_profiler_type_name_deduplicator.h | 32 // Estimates memory overhead including |sizeof(TypeNameDeduplicator)|. 33 void EstimateTraceMemoryOverhead(TraceEventMemoryOverhead* overhead) override;
|
heap_profiler_type_name_deduplicator.cc | 97 TraceEventMemoryOverhead* overhead) { 102 overhead->Add("TypeNameDeduplicator",
|
trace_buffer.cc | 107 TraceEventMemoryOverhead* overhead) override { 108 overhead->Add("TraceBufferRingBuffer", sizeof(*this)); 114 chunks_[chunk_index]->EstimateTraceMemoryOverhead(overhead); 218 TraceEventMemoryOverhead* overhead) override { 223 overhead->Add("TraceBufferVector", chunks_ptr_vector_allocated_size, 230 chunk->EstimateTraceMemoryOverhead(overhead); 264 TraceEventMemoryOverhead* overhead) { 279 overhead->Update(*cached_overhead_estimate_); 293 overhead->Add("TraceEvent (unused)", 297 overhead->Update(*cached_overhead_estimate_) [all...] |
heap_profiler_stack_frame_deduplicator.h | 66 // Estimates memory overhead including |sizeof(StackFrameDeduplicator)|. 67 void EstimateTraceMemoryOverhead(TraceEventMemoryOverhead* overhead) override;
|
trace_buffer.h | 42 void EstimateTraceMemoryOverhead(TraceEventMemoryOverhead* overhead); 78 TraceEventMemoryOverhead* overhead) = 0;
|
heap_profiler_stack_frame_deduplicator.cc | 118 TraceEventMemoryOverhead* overhead) { 120 // overhead of the tree nodes for the map, but as an estimate this should be 129 overhead->Add("StackFrameDeduplicator",
|
/external/ltp/tools/top-LTP/proc/ |
escape.c | 149 int overhead = 1; // the trailing NUL local 161 overhead += 2; 165 overhead += 10; // chars in " <defunct>" 169 if (overhead >= bytes) { // if no room for even one byte of the command name 179 escape_str(outbuf + end, pp->cmd, bytes - overhead, 180 glyphs - overhead + 1);
|
/external/curl/lib/ |
curl_sec.h | 32 int (*overhead)(void *, int, int); member in struct:Curl_sec_client_mech
|
/external/e2fsprogs/contrib/ |
dir2fs | 27 # Estimate overhead with the minimum number of groups... 32 overhead="$(( sb_overhead + (per_grp_overhead * nr_groups) ))" 33 used_bytes="$((bytes + overhead))" 63 overhead="$((blocks - dir_blocks))" 64 echo "Minimized image overhead: $((100 * overhead / dir_blocks))%"
|
/external/pdfium/core/fxcrt/ |
cfx_string_data_template.h | 22 int overhead = local 26 nSize += overhead; 35 int usableLen = (totalSize - overhead) / sizeof(CharType);
|
/external/apache-http/android/src/com/android/internal/http/multipart/ |
Part.java | 330 ByteArrayOutputStream overhead = new ByteArrayOutputStream(); local 331 sendStart(overhead); 332 sendDispositionHeader(overhead); 333 sendContentTypeHeader(overhead); 334 sendTransferEncodingHeader(overhead); 335 sendEndOfHeader(overhead); 336 sendEnd(overhead); 337 return overhead.size() + lengthOfData();
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/perf/ |
PerfOutputWriter.java | 39 writer.println("scenario instr ref overhead"); 73 double overhead = 100 * (subject - reference) / reference; local 77 Double.valueOf(overhead));
|
/external/strace/ |
count.c | 129 static struct timeval overhead = { -1, -1 }; variable in typeref:struct:timeval 149 overhead.tv_sec = n / 1000000; 150 overhead.tv_usec = n % 1000000; 173 if (overhead.tv_sec == -1) { 174 tv_mul(&overhead, &shortest, 8); 175 tv_div(&overhead, &overhead, 10); 181 tv_mul(&dtv, &overhead, counts[i].calls);
|
/external/iproute2/tc/ |
tc_stab.c | 35 " [ overhead BYTES ] [ linklayer TYPE ] ...\n" 39 " overhead : per-packet size overhead used in rate computations\n" 41 "Example: ... stab overhead 20 linklayer atm\n"); 49 s->overhead != 0; 78 } else if (matches(*argv, "overhead") == 0) { 80 if (s.overhead) 81 duparg("overhead", *argv); 82 if (get_integer(&s.overhead, *argv, 10)) 83 invarg("overhead", "invalid overhead") [all...] |
q_tbf.c | 30 fprintf(stderr, "[ overhead BYTES ] [ linklayer TYPE ]\n"); 47 unsigned short overhead=0; local 145 } else if (matches(*argv, "overhead") == 0) { 147 if (overhead) { 148 fprintf(stderr, "tbf: duplicate \"overhead\" specification\n"); 151 if (get_u16(&overhead, *argv, 10)) { 152 explain1("overhead", *argv); return -1; 215 opt.rate.overhead = overhead; 224 opt.peakrate.overhead = overhead [all...] |
q_htb.c | 39 "... class add ... htb rate R1 [burst B1] [mpu B] [overhead O]\n" 45 " overhead per-packet size overhead used in rate computations\n" 121 unsigned short overhead = 0; local 145 } else if (matches(*argv, "overhead") == 0) { 147 if (get_u16(&overhead, *argv, 10)) { 148 explain1("overhead"); return -1; 232 opt.ceil.overhead = overhead; 233 opt.rate.overhead = overhead [all...] |
m_police.c | 38 fprintf(stderr, " [ peakrate BPS ] [ avrate BPS ] [ overhead BYTES ]\n"); 136 unsigned short overhead=0; local 238 } else if (matches(*argv, "overhead") == 0) { 240 if (get_u16(&overhead, *argv, 10)) { 241 explain1("overhead"); return -1; 277 p.rate.overhead = overhead; 287 p.peakrate.overhead = overhead; 362 fprintf(f, "overhead %ub ", p->rate.overhead) [all...] |
/external/ltp/testcases/kernel/sched/tool/ |
time-schedule.c | 27 This programme will determine the context switch (scheduling) overhead on 102 signed long overhead, total_diffs; local 186 /* Determine overhead. Do it in a loop=2. The first iteration should warm 187 the cache, the second will compute the overhead */ 204 overhead = 1000000 * (after.tv_sec - before.tv_sec); 205 overhead += after.tv_usec - before.tv_usec; 249 fprintf(stderr, "Syscall%s overhead: %.1f us\n", frob_fpu ? "/FPU" : "", 250 (double)overhead / 20.0); 252 fprintf(stderr, "Num switches during overhead check: %lu\n", 255 (double)min_diff / 20.0, (double)(min_diff - overhead) / 20.0) [all...] |
/external/e2fsprogs/lib/ext2fs/ |
initialize.c | 92 unsigned int overhead = 0; local 381 overhead = (int) (3 + fs->inode_blocks_per_group + 390 overhead++; 392 overhead += fs->desc_blocks; 395 if (overhead > super->s_blocks_per_group) { 403 * it. We need to recalculate the overhead for the last block 407 overhead = (int) (2 + fs->inode_blocks_per_group); 421 overhead += 1 + fs->desc_blocks + super->s_reserved_gdt_blocks; 424 if ((fs->group_desc_count == 1) && rem && (rem < overhead)) { 428 if (rem && (rem < overhead+50)) [all...] |