Home
last modified time | relevance | path

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

12345678910>>...18

/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/libcxx/utils/google-benchmark/test/
Duser_counters_test.cc28 state.counters["foo"] = 1; in BM_Counters_Simple()
29 state.counters["bar"] = 2 * (double)state.iterations(); in BM_Counters_Simple()
65 state.counters["foo"] = 1; in BM_Counters_WithBytesAndItemsPSec()
66 state.counters["bar"] = ++num_calls1; in BM_Counters_WithBytesAndItemsPSec()
110 state.counters["foo"] = bm::Counter{1, bm::Counter::kIsRate}; in BM_Counters_Rate()
111 state.counters["bar"] = bm::Counter{2, bm::Counter::kIsRate}; in BM_Counters_Rate()
145 state.counters["foo"] = 1; in BM_Counters_Threads()
146 state.counters["bar"] = 2; in BM_Counters_Threads()
181 state.counters["foo"] = bm::Counter{1, bm::Counter::kAvgThreads}; in BM_Counters_AvgThreads()
182 state.counters["bar"] = bm::Counter{2, bm::Counter::kAvgThreads}; in BM_Counters_AvgThreads()
[all …]
/external/google-benchmark/test/
Duser_counters_test.cc28 state.counters["foo"] = 1; in BM_Counters_Simple()
29 state.counters["bar"] = 2 * (double)state.iterations(); in BM_Counters_Simple()
65 state.counters["foo"] = 1; in BM_Counters_WithBytesAndItemsPSec()
66 state.counters["bar"] = ++num_calls1; in BM_Counters_WithBytesAndItemsPSec()
110 state.counters["foo"] = bm::Counter{1, bm::Counter::kIsRate}; in BM_Counters_Rate()
111 state.counters["bar"] = bm::Counter{2, bm::Counter::kIsRate}; in BM_Counters_Rate()
145 state.counters["foo"] = 1; in BM_Counters_Threads()
146 state.counters["bar"] = 2; in BM_Counters_Threads()
181 state.counters["foo"] = bm::Counter{1, bm::Counter::kAvgThreads}; in BM_Counters_AvgThreads()
182 state.counters["bar"] = bm::Counter{2, bm::Counter::kAvgThreads}; in BM_Counters_AvgThreads()
[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/libcxx/utils/google-benchmark/src/
Dcsv_reporter.cc51 for (const auto& cnt : run.counters) { in ReportRuns()
73 for (const auto& cnt : run.counters) { in ReportRuns()
124 if (run.counters.find("bytes_per_second") != run.counters.end()) { in PrintRunData()
125 Out << run.counters.at("bytes_per_second"); in PrintRunData()
128 if (run.counters.find("items_per_second") != run.counters.end()) { in PrintRunData()
129 Out << run.counters.at("items_per_second"); in PrintRunData()
143 auto it = run.counters.find(ucn); in PrintRunData()
144 if (it == run.counters.end()) { in PrintRunData()
/external/google-benchmark/src/
Dcsv_reporter.cc51 for (const auto& cnt : run.counters) { in ReportRuns()
73 for (const auto& cnt : run.counters) { in ReportRuns()
124 if (run.counters.find("bytes_per_second") != run.counters.end()) { in PrintRunData()
125 Out << run.counters.at("bytes_per_second"); in PrintRunData()
128 if (run.counters.find("items_per_second") != run.counters.end()) { in PrintRunData()
129 Out << run.counters.at("items_per_second"); in PrintRunData()
143 auto it = run.counters.find(ucn); in PrintRunData()
144 if (it == run.counters.end()) { in PrintRunData()
/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/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/SimplifyCFG/
Dpreserve-store-alignment.ll7 @counters = global %struct.Counters zeroinitializer, align 16
12 …cast (i64* getelementptr inbounds (%struct.Counters, %struct.Counters* @counters, i64 0, i32 1) to…
14 …cast (i64* getelementptr inbounds (%struct.Counters, %struct.Counters* @counters, i64 0, i32 1) to…
28 …cast (i64* getelementptr inbounds (%struct.Counters, %struct.Counters* @counters, i64 0, i32 1) to…
33 …cast (i64* getelementptr inbounds (%struct.Counters, %struct.Counters* @counters, i64 0, i32 1) to…
35 …cast (i64* getelementptr inbounds (%struct.Counters, %struct.Counters* @counters, i64 0, i32 1) to…
43 …cast (i64* getelementptr inbounds (%struct.Counters, %struct.Counters* @counters, i64 0, i32 1) to…
54 …cast (i64* getelementptr inbounds (%struct.Counters, %struct.Counters* @counters, i64 0, i32 1) to…
64 …cast (i64* getelementptr inbounds (%struct.Counters, %struct.Counters* @counters, i64 0, i32 1) to…
66 …cast (i64* getelementptr inbounds (%struct.Counters, %struct.Counters* @counters, i64 0, i32 1) to…
[all …]
/external/wpa_supplicant_8/src/radius/
Dradius_server.c117 struct radius_server_counters counters; member
313 struct radius_server_counters counters; member
1434 data->counters.access_rejects++; in radius_server_reject()
1435 client->counters.access_rejects++; in radius_server_reject()
1546 data->counters.dup_access_requests++; in radius_server_request()
1547 client->counters.dup_access_requests++; in radius_server_request()
1577 data->counters.packets_dropped++; in radius_server_request()
1578 client->counters.packets_dropped++; in radius_server_request()
1617 data->counters.packets_dropped++; in radius_server_request()
1618 client->counters.packets_dropped++; in radius_server_request()
[all …]
/external/perfetto/test/trace_processor/
Doom_query.sql7 FROM counters
8 WHERE ref_type = 'upid' AND counters.name IN ("mem.rss.file", "rss_stat.mm_filepages");
16 from counters
17 where ref_type = 'upid' and counters.name in ("mem.rss.anon", "rss_stat.mm_anonpages");
25 from counters
26 where ref_type = 'upid' and counters.name = 'oom_score_adj';
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_profile_printer.cc24 const int64* counters, double clock_rate_ghz) { in PrintHloProfile() argument
32 counters[item.second], "\n"); in PrintHloProfile()
40 return counters[instruction_info.profile_index()] != 0; in PrintHloProfile()
52 counters[computation_info.profile_index()], clock_rate_ghz); in PrintHloProfile()
59 counters[instruction_info.profile_index()], in PrintHloProfile()
/external/grpc-grpc/test/core/util/
Dmemory_counters.cc98 struct grpc_memory_counters counters; in grpc_memory_counters_snapshot() local
99 counters.total_size_relative = in grpc_memory_counters_snapshot()
101 counters.total_size_absolute = in grpc_memory_counters_snapshot()
103 counters.total_allocs_relative = in grpc_memory_counters_snapshot()
105 counters.total_allocs_absolute = in grpc_memory_counters_snapshot()
107 return counters; in grpc_memory_counters_snapshot()
/external/perfetto/ui/src/controller/
Dtrace_controller.ts287 const counters = await engine.query(` constant
296 for (let i = 0; i < counters.numRecords; i++) {
297 const ref = +counters.columns[1].longValues![i];
298 const refType = counters.columns[2].stringValues![i];
305 for (let i = 0; i < counters.numRecords; i++) {
306 const name = counters.columns[0].stringValues![i];
307 const refType = counters.columns[2].stringValues![i];
419 for (let i = 0; i < counters.numRecords; i++) {
420 const name = counters.columns[0].stringValues![i];
421 const ref = counters.columns[1].longValues![i];
[all …]
/external/grpc-grpc/tools/profiling/microbenchmarks/bm_diff/
Dbm_build.py51 argp.set_defaults(counters=True)
61 def build(name, benchmarks, jobs, counters): argument
66 if counters:
71 if counters:
81 build(args.name, args.benchmarks, args.jobs, args.counters)
Dbm_main.py97 argp.set_defaults(counters=True)
121 bm_build.build('new', args.benchmarks, args.jobs, args.counters)
130 bm_build.build(old, args.benchmarks, args.jobs, args.counters)
137 args.regex, args.counters)
139 args.regex, args.counters)
146 args.track, old, 'new', args.counters)
/external/mesa3d/src/gallium/drivers/r600/
Dr600_gpu_load.c77 p_atomic_inc(&counters->named.field.busy); \
79 p_atomic_inc(&counters->named.field.idle); \
83 union r600_mmio_counters *counters) in r600_update_mmio_counters() argument
190 union r600_mmio_counters counters; in r600_end_mmio_counter() local
192 memset(&counters, 0, sizeof(counters)); in r600_end_mmio_counter()
193 r600_update_mmio_counters(rscreen, &counters); in r600_end_mmio_counter()
194 return counters.array[busy_index] ? 100 : 0; in r600_end_mmio_counter()
/external/autotest/site_utils/
Ddut_mon.py76 counters = collections.defaultdict(lambda: 0)
96 for k in counters:
97 counters[k] = 0
104 counters[fields] += 1
106 for field, value in counters.iteritems():
/external/mesa3d/src/gallium/drivers/radeon/
Dr600_gpu_load.c74 p_atomic_inc(&counters->named.field.busy); \
76 p_atomic_inc(&counters->named.field.idle); \
80 union r600_mmio_counters *counters) in r600_update_mmio_counters() argument
207 union r600_mmio_counters counters; in r600_end_mmio_counter() local
209 memset(&counters, 0, sizeof(counters)); in r600_end_mmio_counter()
210 r600_update_mmio_counters(sscreen, &counters); in r600_end_mmio_counter()
211 return counters.array[busy_index] ? 100 : 0; in r600_end_mmio_counter()
/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/v8/src/wasm/
Dfunction-compiler.cc31 void RecordStats(const WasmCode* code, Counters* counters) { in RecordStats() argument
32 counters->wasm_generated_code_size()->Increment( in RecordStats()
34 counters->wasm_reloc_size()->Increment( in RecordStats()
49 int index, Counters* counters, in WasmCompilationUnit() argument
55 counters_(counters), in WasmCompilationUnit()
159 function->func_index, isolate->counters(), mode); in CompileWasmFunction()
/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/grpc-grpc/src/core/lib/debug/
Dstats.cc47 output->counters[i] += gpr_atm_no_barrier_load( in grpc_stats_collect()
48 &grpc_stats_per_cpu_storage[core].counters[i]); in grpc_stats_collect()
60 c->counters[i] = b->counters[i] - a->counters[i]; in grpc_stats_diff()
151 grpc_stats_counter_name[i], data->counters[i]); in grpc_stats_data_as_json()
/external/deqp-deps/glslang/glslang/OSDependent/Windows/
Dossource.cpp139 PROCESS_MEMORY_COUNTERS counters; in OS_DumpMemoryCounters() local
140 GetProcessMemoryInfo(GetCurrentProcess(), &counters, sizeof(counters)); in OS_DumpMemoryCounters()
141 printf("Working set size: %d\n", counters.WorkingSetSize); in OS_DumpMemoryCounters()
/external/grpc-grpc/test/core/json/
Dfuzzer.cc34 struct grpc_memory_counters counters; in LLVMFuzzerTestOneInput() local
43 counters = grpc_memory_counters_snapshot(); in LLVMFuzzerTestOneInput()
45 GPR_ASSERT(counters.total_size_relative == 0); in LLVMFuzzerTestOneInput()
/external/v8/src/heap/
Dgc-tracer.cc40 runtime_stats_ = tracer_->heap_->isolate()->counters()->runtime_call_stats(); in Scope()
209 heap_->isolate()->counters()->young_generation_handling()->AddSample( in NotifyYoungGenerationHandling()
256 Counters* counters = heap_->isolate()->counters(); in Start() local
259 counters->scavenge_reason()->AddSample(static_cast<int>(gc_reason)); in Start()
261 counters->mark_compact_reason()->AddSample(static_cast<int>(gc_reason)); in Start()
267 heap_->isolate()->counters()->incremental_marking_sum()->AddSample( in ResetIncrementalMarkingCounters()
1034 heap_->isolate()->counters()->background_marking()->AddSample( in FetchBackgroundMarkCompactCounters()
1036 heap_->isolate()->counters()->background_sweeping()->AddSample( in FetchBackgroundMarkCompactCounters()
1045 heap_->isolate()->counters()->background_scavenger()->AddSample( in FetchBackgroundMinorGCCounters()
1072 heap_->isolate()->counters()->runtime_call_stats(); in FetchBackgroundCounters()
[all …]

12345678910>>...18