Searched defs:counters (Results 1 - 6 of 6) sorted by relevance
/system/extras/tests/icachetest/ |
H A D | 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"
|
H A D | Profiler.h | 79 // could return false if performance counters are not supported/enabled 90 } counters[Profiler::EVENT_COUNT]; member in class:utils::Profiler::Counters 97 lhs.counters[i].value -= rhs.counters[i].value; 103 uint64_t getInstructions() const { return counters[INSTRUCTIONS].value; } 104 uint64_t getCpuCycles() const { return counters[CPU_CYCLES].value; } 105 uint64_t getL1DReferences() const { return counters[DCACHE_REFS].value; } 106 uint64_t getL1DMisses() const { return counters[DCACHE_MISSES].value; } 107 uint64_t getL1IReferences() const { return counters[ICACHE_REFS].value; } 108 uint64_t getL1IMisses() const { return counters[ICACHE_MISSE 186 Counters counters; variable [all...] |
/system/extras/simpleperf/ |
H A D | event_selection_set.h | 49 std::vector<CounterInfo> counters; member in struct:CountersInfo 61 // 4. Read counters by calling ReadCounters(), or read mapped event records 113 bool ReadCounters(std::vector<CountersInfo>* counters); 133 // counters for event files closed for cpu hotplug events
|
H A D | cmd_stat.cpp | 115 // counters with other events), the scale of its summary is usually within 313 bool ShowCounters(const std::vector<CountersInfo>& counters, 388 std::vector<CountersInfo> counters; local 410 if (!event_selection_set_.ReadCounters(&counters)) { 417 if (!ShowCounters(counters, duration_in_sec, fp)) { 439 // 6. Read and print counters. 567 bool StatCommand::ShowCounters(const std::vector<CountersInfo>& counters, argument 576 for (auto& counters_info : counters) { 577 for (auto& counter_info : counters_info.counters) { 599 for (auto& counters_info : counters) { [all...] |
H A D | event_selection_set.cpp | 462 bool EventSelectionSet::ReadCounters(std::vector<CountersInfo>* counters) { argument 463 counters->clear(); 470 counters_info.counters = selection.hotplugged_counters; 476 counters_info.counters.push_back(counter); 478 counters->push_back(counters_info);
|
/system/netd/server/ |
H A D | BandwidthControllerTest.cpp | 251 // If no filter is specified, both IPv4 and IPv6 counters must have at least one interface pair. 261 // IPv4 and IPv6 counters are properly added together. 324 std::string counters = android::base::Join(counterLines, "\n") + "\n"; local 325 addIptablesRestoreOutput(counters, counters); 336 counters = android::base::Join(counterLines, "\n") + "\n"; 337 addIptablesRestoreOutput(counters, counters); 344 std::string expectedError = counters;
|
Completed in 93 milliseconds