/system/extras/simpleperf/ |
record_lib_test.cpp | 50 std::vector<Counter> counters; local 51 ASSERT_TRUE(perf->ReadCounters(&counters)); 52 ASSERT_EQ(counters.size(), 3u); 53 ASSERT_EQ(counters[0].event, "cpu-cycles"); 54 ASSERT_EQ(counters[1].event, "cpu-cycles:u"); 55 ASSERT_EQ(counters[2].event, "cpu-cycles:k"); 56 for (auto& counter : counters) { 75 std::vector<Counter> counters; 76 ASSERT_TRUE(perf->ReadCounters(&counters)); 77 ASSERT_EQ(counters.size(), 1u) 107 std::vector<Counter> counters; local 133 std::vector<Counter> counters; local [all...] |
/external/webrtc/talk/app/webrtc/ |
fakemetricsobserver.cc | 51 auto& counters = counters_[type]; local 52 ++counters[counter];
|
/prebuilts/go/darwin-x86/src/cmd/cover/testdata/ |
main.go | 26 var counters = make(map[block]bool) var 37 counters[b] = true 47 counters[b] = true 55 for b := range counters { 104 // Choose the earliest match (the counters are in unpredictable order).
|
/prebuilts/go/linux-x86/src/cmd/cover/testdata/ |
main.go | 26 var counters = make(map[block]bool) var 37 counters[b] = true 47 counters[b] = true 55 for b := range counters { 104 // Choose the earliest match (the counters are in unpredictable order).
|
/external/google-benchmark/src/ |
benchmark_api_internal.h | 27 UserCounters counters; member in struct:benchmark::internal::Benchmark::Instance
|
/external/libcxx/utils/google-benchmark/src/ |
benchmark_api_internal.h | 27 UserCounters counters; member in struct:benchmark::internal::Benchmark::Instance
|
/external/mesa3d/src/mesa/state_tracker/ |
st_cb_perfmon.h | 62 struct st_perf_monitor_counter *counters; member in struct:st_perf_monitor_group
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/utils/google-benchmark/src/ |
benchmark_api_internal.h | 27 UserCounters counters; member in struct:benchmark::internal::Benchmark::Instance
|
/external/apache-xml/src/main/java/org/apache/xalan/transformer/ |
CountersTable.java | 34 * This is a table of counters, keyed by ElemNumber objects, each 50 * Get the list of counters that corresponds to 55 * @return the list of counters that corresponds to 61 Vector counters = (Vector) this.get(numberElem); local 63 return (null == counters) ? putElemNumber(numberElem) : counters; 78 Vector counters = new Vector(); local 80 this.put(numberElem, counters); 82 return counters; 86 * Place to collect new counters 131 Vector counters = getCounters(numberElem); local [all...] |
/external/autotest/client/cros/ |
memory_bandwidth_logger.py | 48 counters = [ variable 134 Since the counters are monotonically increasing, we 146 too high, your results might be nonsense because the counters 150 raw: True if you want to dump raw counters. These will simply 153 seconds_period: Duration to wait before dumping counters again. 172 # set up the output formatting. raw counters don't have any 195 * rate_factor for c in counters } 197 output = list((c.name, output_dict[c.name]) for c in counters) 199 total_rate = sum(mb_diff[c.name] for c in counters if c.total) 231 for c in counters } [all...] |
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_stoptheworld_test.cc | 99 volatile int counters[kThreadCount]; member in struct:__sanitizer::AdvancedCallbackArgument 132 __sync_fetch_and_add(&callback_argument->counters[this_thread_index], 1); 150 counters_at_init[j] = __sync_fetch_and_add(&callback_argument->counters[j], 155 if (__sync_fetch_and_add(&callback_argument->counters[j], 0) !=
|
/external/mesa3d/src/gallium/drivers/radeon/ |
r600_gpu_load.c | 33 * Then, the user can sample the counters twice and calculate the average 49 union r600_grbm_counters *counters) 56 p_atomic_inc(&counters->named.spi_busy); 58 p_atomic_inc(&counters->named.spi_idle); 61 p_atomic_inc(&counters->named.gui_busy); 63 p_atomic_inc(&counters->named.gui_idle); 90 /* Update the counters. */ 135 * If no counters were incremented, return the current counter status. 137 * the counters are updated. 142 union r600_grbm_counters counters; local [all...] |
/external/v8/src/extensions/ |
statistics-extension.cc | 7 #include "src/counters.h" 75 Counters* counters = isolate->counters(); local 84 { counters->name(), #name } \ 90 { counters->count_of_##name(), "count_of_" #name } \ 91 , {counters->size_of_##name(), "size_of_" #name}, 96 { counters->count_of_CODE_TYPE_##name(), "count_of_CODE_TYPE_" #name } \ 97 , {counters->size_of_CODE_TYPE_##name(), "size_of_CODE_TYPE_" #name}, 102 { counters->count_of_FIXED_ARRAY_##name(), "count_of_FIXED_ARRAY_" #name } [all...] |
/external/valgrind/cachegrind/ |
cg_branchpred.c | 66 counters. Given the address of the branch instruction, the array 89 static UChar counters[N_COUNTERS]; /* Counter array; presumably auto-zeroed */ variable 110 predicted_taken = counters[ indx ] >= 2; 120 if (counters[indx] < 3) 121 counters[indx]++; 123 if (counters[indx] > 0) 124 counters[indx]--; 127 tl_assert(counters[indx] <= 3);
|
/system/extras/tests/icachetest/ |
icache_main.cpp | 91 fprintf(stderr, "performance counters not enabled. try \"setprop security.perf_harden 0\"\n"); 102 Profiler::Counters counters; local 113 profiler.readCounters(&counters); 116 << counters.getCpuCycles()/double(REPETITIONS) << "\t" 117 << counters.getL1IReferences()/double(REPETITIONS) << "\t" 118 << counters.getMPKI(counters.getL1IMisses()) << "\t"
|
/external/v8/src/parsing/ |
preparser.cc | 227 const RuntimeCallStats::CounterId counters[2][2] = { local 234 counters[track_unresolved_variables_][parsing_on_main_thread_]);
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
receive_statistics_unittest.cc | 122 // kSsrc1 should be active again and the data counters should have survived. 141 StreamDataCounters counters; local 142 statistician->GetReceiveStreamDataCounters(&counters); 143 EXPECT_GT(counters.first_packet_time_ms, -1); 144 EXPECT_EQ(1u, counters.transmitted.packets); 147 statistician->GetReceiveStreamDataCounters(&counters); 148 EXPECT_GT(counters.first_packet_time_ms, -1); 149 EXPECT_EQ(2u, counters.transmitted.packets); 247 virtual void DataCountersUpdated(const StreamDataCounters& counters, 250 stats_ = counters; [all...] |
/frameworks/base/core/java/android/net/metrics/ |
WakeupStats.java | 61 /** Update wakeup counters for the given WakeupEvent. */ 130 private static void increment(SparseIntArray counters, int key) { 131 int newcount = counters.get(key, 0) + 1; 132 counters.put(key, newcount);
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
x_tables.h | 90 struct xt_counters counters[0]; member in struct:xt_counters_info
|
/external/freetype/src/pshinter/ |
pshrec.h | 104 /* masks and counters table descriptor */ 119 PS_Mask_TableRec counters; member in struct:PS_DimensionRec_
|
/external/iproute2/include/uapi/linux/netfilter/ |
x_tables.h | 111 __u64 pcnt, bcnt; /* Packet and byte counters */ 121 /* The counters (actually `number' of these). */ 122 struct xt_counters counters[0]; member in struct:xt_counters_info
|
/external/iptables/include/linux/netfilter/ |
x_tables.h | 110 __u64 pcnt, bcnt; /* Packet and byte counters */ 120 /* The counters (actually `number' of these). */ 121 struct xt_counters counters[0]; member in struct:xt_counters_info
|
/external/iptables/iptables/ |
ip6tables-restore.c | 29 static int counters = 0, verbose = 0, noflush = 0, wait = 0; variable 37 {.name = "counters", .has_arg = 0, .val = 'c'}, 54 " [ --counters ]\n" 222 counters = 1; 385 if (counters) { 391 "invalid policy counters " 423 /* we have counters in our input */ 453 if (counters && pcnt && bcnt) { 454 add_argv("--set-counters");
|
iptables-restore.c | 26 static int counters = 0, verbose = 0, noflush = 0, wait = 0; variable 34 {.name = "counters", .has_arg = 0, .val = 'c'}, 53 " [ --counters ]\n" 221 counters = 1; 384 if (counters) { 390 "invalid policy counters " 422 /* we have counters in our input */ 452 if (counters && pcnt && bcnt) { 453 add_argv("--set-counters");
|
xshared.h | 62 struct xt_counters counters; member in struct:iptables_command_state
|