Home
last modified time | relevance | path

Searched refs:perf (Results 1 – 18 of 18) sorted by relevance

/system/core/storaged/
Dstoraged.cpp37 struct disk_perf perf = get_disk_perf(&mAccumulate); in publish() local
38 log_debug_disk_perf(&perf, "regular"); in publish()
78 void disk_stats_monitor::add(struct disk_perf* perf) { in add() argument
79 mStats.read_perf.add(perf->read_perf); in add()
80 mStats.read_ios.add(perf->read_ios); in add()
81 mStats.write_perf.add(perf->write_perf); in add()
82 mStats.write_ios.add(perf->write_ios); in add()
83 mStats.queue.add(perf->queue); in add()
86 void disk_stats_monitor::evict(struct disk_perf* perf) { in evict() argument
87 mStats.read_perf.evict(perf->read_perf); in evict()
[all …]
Dstoraged_utils.cpp76 struct disk_perf perf; in get_disk_perf() local
77 memset(&perf, 0, sizeof(struct disk_perf)); // initialize in get_disk_perf()
82 perf.read_perf = ((unsigned long long)SECTOR_SIZE * in get_disk_perf()
87 perf.read_ios = ((unsigned long long)SEC_TO_MSEC * in get_disk_perf()
95 perf.write_perf = ((unsigned long long)SECTOR_SIZE * in get_disk_perf()
100 perf.write_ios = ((unsigned long long)SEC_TO_MSEC * in get_disk_perf()
106 perf.queue = (stats->io_in_queue + (stats->io_ticks >> 1)) / in get_disk_perf()
109 return perf; in get_disk_perf()
199 void log_debug_disk_perf(struct disk_perf* perf, const char* type) { in log_debug_disk_perf() argument
201 if (perf == NULL) return; in log_debug_disk_perf()
[all …]
/system/extras/perfprofd/tests/
DAndroid.mk9 LOCAL_MODULE := canned.perf.data
13 LOCAL_SRC_FILES := canned.perf.data
20 LOCAL_MODULE := callchain.canned.perf.data
24 LOCAL_SRC_FILES := callchain.canned.perf.data
Dperfprofd_test.cc479 I: profile collection failed (perf record returned bad exit status) in TEST_F()
/system/extras/memcpy-perf/
Dgraph_memcpy.py22 perf = [] variable
27 perf.append(float(line_split[1].split(":")[1].split("G")[0]))
29 line, = ax.plot(size, perf, '-', linewidth=0.2, label=arg)
DAndroid.mk5 LOCAL_MODULE := memcpy-perf
7 LOCAL_SRC_FILES := memcpy-perf.cpp test-funcs.cpp
/system/extras/zram-perf/
DAndroid.mk5 LOCAL_MODULE := zram-perf
8 zram-perf.cpp
/system/core/storaged/tests/
Dstoraged_test.cpp184 static struct disk_perf disk_perf_multiply(struct disk_perf perf, double mul) { in disk_perf_multiply() argument
186 retval.read_perf = (double)perf.read_perf * mul; in disk_perf_multiply()
187 retval.read_ios = (double)perf.read_ios * mul; in disk_perf_multiply()
188 retval.write_perf = (double)perf.write_perf * mul; in disk_perf_multiply()
189 retval.write_ios = (double)perf.write_ios * mul; in disk_perf_multiply()
190 retval.queue = (double)perf.queue * mul; in disk_perf_multiply()
234 struct disk_perf perf = disk_perf_multiply(norm_perf, rand(gen)); in TEST() local
236 dsm_detect.add(&perf); in TEST()
237 dsm_detect.mBuffer.push(perf); in TEST()
/system/extras/simpleperf/
DREADME.md4 supports broadly the same options as the linux-tools perf, but also supports
20 The Linux kernel wraps these hardware counters into hardware perf events. In
43 5. Simpleperf reads samples from the mapped buffers and generates perf.data.
45 The report command reads a "perf.data" file and any shared libraries used by
178 When monitoring perf counters, we can also use --interval option to decide the print
196 # open the collected new.html in browser and perf counters will be shown up
205 # to perf.data.
259 By default, simpleperf stores records in perf.data in current directory. We can
266 simpleperf report is used to report based on perf.data generated by simpleperf
270 perf.data and executable binaries used by the monitored program, filter out
[all …]
/system/extras/simpleperf/scripts/
Dbinary_cache_builder.config7 perf_data_path = "perf.data"
12 # as the one recorded in perf.data, then we copy the binary in the directory
Dannotate.config5 # A list of profiling record files. By default it only contains perf.data.
6 perf_data_list = ["perf.data"]
Dapp_profiler.config56 # The path to store generated perf.data on host.
57 perf_data_path = "perf.data"
70 # binary hit by perf.data on host.
Dpprof_proto_generator.config7 perf_data_path = "perf.data"
/system/core/storaged/include/
Dstoraged.h183 void add(struct disk_perf* perf);
184 void evict(struct disk_perf* perf);
185 bool detect(struct disk_perf* perf);
Dstoraged_utils.h40 void log_debug_disk_perf(struct disk_perf* perf, const char* type);
/system/extras/tests/workloads/
Dpwrsummary.sh65 …rintf "%s,%s,%s,%s,%s,%s,%s,%s,%s\n" " " build min ave max net-mA@${voltage}v base-mW net-mW perf/W
67 …s %12.12s %12.12s %12.12s %12.12s\n" " " build min ave max net-mA@${voltage}v base-mW net-mW perf/W
/system/sepolicy/public/
Dperfprofd.te1 # perfprofd - perf profile collection daemon
36 # simpleperf uses ioctl() to turn on kernel perf events measurements
/system/extras/perfprofd/
Dperf_profile.proto72 // A compressed representation of a perf profile, which contains samples from