Home
last modified time | relevance | path

Searched refs:counters (Results 1 – 25 of 309) sorted by relevance

12345678910>>...13

/external/libxml2/xstc/
Dxstc.py471 self.counters = self.createCounters()
478 counters = {self.CNT_TOTAL:0, self.CNT_RAN:0, self.CNT_SUCCEEDED:0,
483 return counters
495 def updateCounters(self, test, counters): argument
497 counters[self.CNT_MEMLEAK] += 1
499 counters[self.CNT_SUCCEEDED] +=1
501 counters[self.CNT_FAILED] += 1
503 counters[self.CNT_BAD] += 1
505 counters[self.CNT_UNIMPLEMENTED] += 1
507 counters[self.CNT_INTERNAL] += 1
[all …]
/external/apache-xml/src/main/java/org/apache/xalan/transformer/
DCountersTable.java61 Vector counters = (Vector) this.get(numberElem); in getCounters() local
63 return (null == counters) ? putElemNumber(numberElem) : counters; in getCounters()
78 Vector counters = new Vector(); in putElemNumber() local
80 this.put(numberElem, counters); in putElemNumber()
82 return counters; in putElemNumber()
131 Vector counters = getCounters(numberElem); in countNode() local
132 int nCounters = counters.size(); in countNode()
142 Counter counter = (Counter) counters.elementAt(i); in countNode()
171 Counter counter = (Counter) counters.elementAt(i); in countNode()
203 counters.addElement(counter); in countNode()
/external/google-benchmark/test/
Duser_counters_test.cc24 state.counters["foo"] = 1; in BM_Counters_Simple()
25 state.counters["bar"] = 2 * (double)state.iterations(); in BM_Counters_Simple()
56 state.counters["foo"] = 1; in BM_Counters_WithBytesAndItemsPSec()
57 state.counters["bar"] = ++num_calls1; in BM_Counters_WithBytesAndItemsPSec()
98 state.counters["foo"] = bm::Counter{1, bm::Counter::kIsRate}; in BM_Counters_Rate()
99 state.counters["bar"] = bm::Counter{2, bm::Counter::kIsRate}; in BM_Counters_Rate()
129 state.counters["foo"] = 1; in BM_Counters_Threads()
130 state.counters["bar"] = 2; in BM_Counters_Threads()
159 state.counters["foo"] = bm::Counter{1, bm::Counter::kAvgThreads}; in BM_Counters_AvgThreads()
160 state.counters["bar"] = bm::Counter{2, bm::Counter::kAvgThreads}; in BM_Counters_AvgThreads()
[all …]
Duser_counters_tabular_test.cc60 state.counters.insert({ in BM_Counters_Tabular()
104 state.counters.insert({ in BM_CounterRates_Tabular()
151 state.counters.insert({ in BM_CounterSet0_Tabular()
183 state.counters.insert({ in BM_CounterSet1_Tabular()
219 state.counters.insert({ in BM_CounterSet2_Tabular()
/external/mesa3d/src/gallium/drivers/radeon/
Dr600_gpu_load.c49 union r600_grbm_counters *counters) in r600_update_grbm_counters() argument
56 p_atomic_inc(&counters->named.spi_busy); in r600_update_grbm_counters()
58 p_atomic_inc(&counters->named.spi_idle); in r600_update_grbm_counters()
61 p_atomic_inc(&counters->named.gui_busy); in r600_update_grbm_counters()
63 p_atomic_inc(&counters->named.gui_idle); in r600_update_grbm_counters()
142 union r600_grbm_counters counters; in r600_end_counter() local
144 memset(&counters, 0, sizeof(counters)); in r600_end_counter()
145 r600_update_grbm_counters(rscreen, &counters); in r600_end_counter()
146 return counters.array[busy_index] ? 100 : 0; in r600_end_counter()
/external/v8/tools/ignition/
Dlinux_perf_report_test.py81 counters = ipr.calculate_samples_count_per_callchain([
87 self.assertItemsEqual(counters, [
94 counters = ipr.calculate_samples_count_per_callchain([
99 self.assertItemsEqual(counters, [
105 counters = ipr.calculate_samples_count_per_handler([
111 self.assertItemsEqual(counters, [
117 counters = ipr.calculate_samples_count_per_handler([
122 self.assertItemsEqual(counters, [("bar", 3)])
/external/wpa_supplicant_8/src/radius/
Dradius_server.c113 struct radius_server_counters counters; member
299 struct radius_server_counters counters; member
978 data->counters.access_rejects++; in radius_server_reject()
979 client->counters.access_rejects++; in radius_server_reject()
1045 data->counters.dup_access_requests++; in radius_server_request()
1046 client->counters.dup_access_requests++; in radius_server_request()
1076 data->counters.packets_dropped++; in radius_server_request()
1077 client->counters.packets_dropped++; in radius_server_request()
1116 data->counters.packets_dropped++; in radius_server_request()
1117 client->counters.packets_dropped++; in radius_server_request()
[all …]
/external/valgrind/cachegrind/
Dcg_branchpred.c89 static UChar counters[N_COUNTERS]; /* Counter array; presumably auto-zeroed */ variable
110 predicted_taken = counters[ indx ] >= 2; in do_cond_branch_predict()
120 if (counters[indx] < 3) in do_cond_branch_predict()
121 counters[indx]++; in do_cond_branch_predict()
123 if (counters[indx] > 0) in do_cond_branch_predict()
124 counters[indx]--; in do_cond_branch_predict()
127 tl_assert(counters[indx] <= 3); in do_cond_branch_predict()
/external/netperf/src/
Dnetcpu_kstat10.c57 print_cpu_time_counters(char *name, int instance, cpu_time_counters_t *counters) in print_cpu_time_counters() argument
66 counters[instance].idle, in print_cpu_time_counters()
67 counters[instance].user, in print_cpu_time_counters()
68 counters[instance].kernel, in print_cpu_time_counters()
69 counters[instance].interrupt); in print_cpu_time_counters()
153 get_cpu_counters(int cpu_num, cpu_time_counters_t *counters) in get_cpu_counters() argument
177 counters[cpu_num].idle = knp->value.ui64; in get_cpu_counters()
181 counters[cpu_num].user = knp->value.ui64; in get_cpu_counters()
185 counters[cpu_num].kernel = knp->value.ui64; in get_cpu_counters()
247 get_interrupt_counters(int cpu_num, cpu_time_counters_t *counters) in get_interrupt_counters() argument
[all …]
/external/v8/src/extensions/
Dstatistics-extension.cc75 Counters* counters = isolate->counters(); in GetCounters() local
84 { counters->name(), #name } \ in GetCounters()
90 { counters->count_of_##name(), "count_of_" #name } \ in GetCounters()
91 , {counters->size_of_##name(), "size_of_" #name}, in GetCounters()
96 { counters->count_of_CODE_TYPE_##name(), "count_of_CODE_TYPE_" #name } \ in GetCounters()
97 , {counters->size_of_CODE_TYPE_##name(), "size_of_CODE_TYPE_" #name}, in GetCounters()
102 { counters->count_of_FIXED_ARRAY_##name(), "count_of_FIXED_ARRAY_" #name } \ in GetCounters()
103 , {counters->size_of_FIXED_ARRAY_##name(), "size_of_FIXED_ARRAY_" #name}, in GetCounters()
/external/v8/src/heap/
Dobject-stats.cc182 Counters* counters = isolate()->counters(); in CheckpointObjectStats() local
184 counters->count_of_##name()->Increment( \ in CheckpointObjectStats()
186 counters->count_of_##name()->Decrement( \ in CheckpointObjectStats()
188 counters->size_of_##name()->Increment( \ in CheckpointObjectStats()
190 counters->size_of_##name()->Decrement( \ in CheckpointObjectStats()
197 counters->count_of_CODE_TYPE_##name()->Increment( \ in CheckpointObjectStats()
199 counters->count_of_CODE_TYPE_##name()->Decrement( \ in CheckpointObjectStats()
201 counters->size_of_CODE_TYPE_##name()->Increment( \ in CheckpointObjectStats()
203 counters->size_of_CODE_TYPE_##name()->Decrement( \ in CheckpointObjectStats()
209 counters->count_of_FIXED_ARRAY_##name()->Increment( \ in CheckpointObjectStats()
[all …]
Dgc-tracer.cc34 tracer_->heap_->isolate()->counters()->runtime_call_stats(), &timer_, in Scope()
45 tracer_->heap_->isolate()->counters()->runtime_call_stats(), &timer_); in ~Scope()
146 heap_->isolate()->counters()->young_generation_handling()->AddSample( in NotifyYoungGenerationHandling()
196 Counters* counters = heap_->isolate()->counters(); in Start() local
199 counters->scavenge_reason()->AddSample(static_cast<int>(gc_reason)); in Start()
201 counters->mark_compact_reason()->AddSample(static_cast<int>(gc_reason)); in Start()
203 counters->aggregated_memory_heap_committed()->AddSample(start_time, in Start()
205 counters->aggregated_memory_heap_used()->AddSample(start_time, used_memory); in Start()
208 RuntimeCallStats::Enter(heap_->isolate()->counters()->runtime_call_stats(), in Start()
248 heap_->isolate()->counters()->aggregated_memory_heap_committed()->AddSample( in Stop()
[all …]
/external/swiftshader/third_party/LLVM/runtime/libprofile/
DGCDAProfiling.c134 uint64_t **counters) { in llvm_gcda_increment_indirect_counter() argument
141 counter = counters[pred]; in llvm_gcda_increment_indirect_counter()
168 void llvm_gcda_emit_arcs(uint32_t num_counters, uint64_t *counters) { in llvm_gcda_emit_arcs() argument
174 write_int64(counters[i]); in llvm_gcda_emit_arcs()
180 printf("llvmgcda: %llu\n", (unsigned long long)counters[i]); in llvm_gcda_emit_arcs()
/external/webrtc/webrtc/video/
Dsend_statistics_proxy_unittest.cc196 StreamDataCounters& counters = expected_.substreams[ssrc].rtp_stats; in TEST_F() local
200 counters.transmitted.payload_bytes = offset; in TEST_F()
201 counters.transmitted.header_bytes = offset + 1; in TEST_F()
202 counters.fec.packets = offset_uint32 + 2; in TEST_F()
203 counters.transmitted.padding_bytes = offset + 3; in TEST_F()
204 counters.retransmitted.packets = offset_uint32 + 4; in TEST_F()
205 counters.transmitted.packets = offset_uint32 + 5; in TEST_F()
206 callback->DataCountersUpdated(counters, ssrc); in TEST_F()
212 StreamDataCounters& counters = expected_.substreams[ssrc].rtp_stats; in TEST_F() local
216 counters.transmitted.payload_bytes = offset; in TEST_F()
[all …]
/external/google-benchmark/src/
Dcsv_reporter.cc51 for (const auto& cnt : run.counters) { in ReportRuns()
70 for (const auto& cnt : run.counters) { in ReportRuns()
139 auto it = run.counters.find(ucn); in PrintRunData()
140 if(it == run.counters.end()) { in PrintRunData()
Dconsole_reporter.cc58 if(!run.counters.empty()) { in PrintHeader()
60 for(auto const& c : run.counters) { in PrintHeader()
80 (!internal::SameNames(run.counters, prev_counters_)); in ReportRuns()
83 prev_counters_ = run.counters; in ReportRuns()
150 for (auto& c : result.counters) { in PrintRunData()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_perfmon.c93 const struct st_perf_monitor_counter *stc = &stg->counters[cid]; in init_perf_monitor()
370 struct gl_perf_monitor_counter *counters = NULL; in st_InitPerfMonitorGroups() local
380 counters = CALLOC(group_info.num_queries, sizeof(*counters)); in st_InitPerfMonitorGroups()
381 if (!counters) in st_InitPerfMonitorGroups()
383 g->Counters = counters; in st_InitPerfMonitorGroups()
388 stg->counters = stcounters; in st_InitPerfMonitorGroups()
391 struct gl_perf_monitor_counter *c = &counters[g->NumCounters]; in st_InitPerfMonitorGroups()
445 FREE(stgroups[gid].counters); in st_InitPerfMonitorGroups()
460 FREE(st->perfmon[gid].counters); in st_destroy_perfmon()
/external/autotest/client/cros/
Dmemory_bandwidth_logger.py48 counters = [ variable
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 }
/external/iptables/extensions/
Dlibxt_set.man24 \fB!\fP \fB\-\-update\-counters\fP
25 If the \fB\-\-update\-counters\fP flag is negated, then the packet and
26 byte counters of the matching element in the set won't be updated. Default
27 the packet and byte counters are updated.
31 byte counters of the matching element in the member set of a list type of
32 set won't be updated. Default the packet and byte counters are updated.
58 The packet and byte counters related options and flags are ignored
/external/iptables/libiptc/
Dlibiptc.c122 STRUCT_COUNTERS counters; /* per-chain counters */ member
833 memcpy(&h->chain_iterator_cur->counters, &pr->entry->counters, in __iptcc_p_del_policy()
834 sizeof(h->chain_iterator_cur->counters)); in __iptcc_p_del_policy()
1185 memcpy(&foot->e.counters, &c->counters, sizeof(STRUCT_COUNTERS)); in iptcc_compile_chain()
1648 STRUCT_COUNTERS *counters, in TC_GET_POLICY() argument
1666 *counters = c->counters; in TC_GET_POLICY()
2169 return &r->entry[0].counters; in TC_READ_COUNTER()
2204 STRUCT_COUNTERS *counters, in TC_SET_COUNTER() argument
2227 memcpy(&e->counters, counters, sizeof(STRUCT_COUNTERS)); in TC_SET_COUNTER()
2417 STRUCT_COUNTERS *counters, in TC_SET_POLICY() argument
[all …]
/external/compiler-rt/test/profile/
Dinstrprof-value-prof-shared.test2 …vm -enable-value-profiling=true -mllvm -vp-static-alloc=true -mllvm -vp-counters-per-site=256 -fPI…
3 …vm -enable-value-profiling=true -mllvm -vp-static-alloc=true -mllvm -vp-counters-per-site=256 -o %…
10 …clang -fprofile-instrument=llvm -mllvm -vp-static-alloc=true -mllvm -vp-counters-per-site=256 -fPI…
11 …lang -fprofile-instrument=llvm -mllvm -vp-static-alloc=true -mllvm -vp-counters-per-site=256 -rpa…
20 …lang -fprofile-instrument=llvm -mllvm -vp-static-alloc=false -mllvm -vp-counters-per-site=256 -fPI…
21 …ang -fprofile-instrument=llvm -mllvm -vp-static-alloc=false -mllvm -vp-counters-per-site=256 -rpa…
30 …lang -fprofile-instrument=llvm -mllvm -vp-static-alloc=false -mllvm -vp-counters-per-site=256 -fPI…
31 …lang -fprofile-instrument=llvm -mllvm -vp-static-alloc=true -mllvm -vp-counters-per-site=256 -rpa…
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dreceive_statistics_unittest.cc141 StreamDataCounters counters; in TEST_F() local
142 statistician->GetReceiveStreamDataCounters(&counters); in TEST_F()
143 EXPECT_GT(counters.first_packet_time_ms, -1); in TEST_F()
144 EXPECT_EQ(1u, counters.transmitted.packets); in TEST_F()
147 statistician->GetReceiveStreamDataCounters(&counters); in TEST_F()
148 EXPECT_GT(counters.first_packet_time_ms, -1); in TEST_F()
149 EXPECT_EQ(2u, counters.transmitted.packets); in TEST_F()
247 virtual void DataCountersUpdated(const StreamDataCounters& counters, in DataCountersUpdated() argument
250 stats_ = counters; in DataCountersUpdated()
/external/iptables/iptables/
Dnft.h60 …handle *h, int (*func)(struct nft_handle *h, const char *tablename, bool counters), bool counters);
70 … *h, const char *table, const char *chain, const char *policy, const struct xt_counters *counters);
91 …e_list_save(struct nft_handle *h, const char *chain, const char *table, int rulenum, int counters);
92 int nft_rule_save(struct nft_handle *h, const char *table, bool counters);
/external/llvm/test/tools/llvm-profdata/
Dcount-mismatch.proftext1 # Make sure we don't try to combine counters with the same function
2 # name and a matching hash if the number of counters differs
16 # counters differs.
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_stoptheworld_test.cc99 volatile int counters[kThreadCount]; member
132 __sync_fetch_and_add(&callback_argument->counters[this_thread_index], 1); in AdvancedIncrementerThread()
150 counters_at_init[j] = __sync_fetch_and_add(&callback_argument->counters[j], in AdvancedCallback()
155 if (__sync_fetch_and_add(&callback_argument->counters[j], 0) != in AdvancedCallback()

12345678910>>...13