/system/core/storaged/ |
D | storaged.cpp | 37 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 …]
|
D | storaged_utils.cpp | 76 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/ |
D | Android.mk | 9 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
|
D | perfprofd_test.cc | 479 I: profile collection failed (perf record returned bad exit status) in TEST_F()
|
/system/extras/memcpy-perf/ |
D | graph_memcpy.py | 22 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)
|
D | Android.mk | 5 LOCAL_MODULE := memcpy-perf 7 LOCAL_SRC_FILES := memcpy-perf.cpp test-funcs.cpp
|
/system/extras/zram-perf/ |
D | Android.mk | 5 LOCAL_MODULE := zram-perf 8 zram-perf.cpp
|
/system/core/storaged/tests/ |
D | storaged_test.cpp | 184 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/ |
D | README.md | 4 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/ |
D | binary_cache_builder.config | 7 perf_data_path = "perf.data" 12 # as the one recorded in perf.data, then we copy the binary in the directory
|
D | annotate.config | 5 # A list of profiling record files. By default it only contains perf.data. 6 perf_data_list = ["perf.data"]
|
D | app_profiler.config | 56 # The path to store generated perf.data on host. 57 perf_data_path = "perf.data" 70 # binary hit by perf.data on host.
|
D | pprof_proto_generator.config | 7 perf_data_path = "perf.data"
|
/system/core/storaged/include/ |
D | storaged.h | 183 void add(struct disk_perf* perf); 184 void evict(struct disk_perf* perf); 185 bool detect(struct disk_perf* perf);
|
D | storaged_utils.h | 40 void log_debug_disk_perf(struct disk_perf* perf, const char* type);
|
/system/extras/tests/workloads/ |
D | pwrsummary.sh | 65 …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/ |
D | perfprofd.te | 1 # perfprofd - perf profile collection daemon 36 # simpleperf uses ioctl() to turn on kernel perf events measurements
|
/system/extras/perfprofd/ |
D | perf_profile.proto | 72 // A compressed representation of a perf profile, which contains samples from
|