Home
last modified time | relevance | path

Searched refs:stats (Results 1 – 12 of 12) sorted by relevance

/system/extras/showslab/
Dshowslab.c60 static struct slab_info * get_slabinfo(struct slab_stat *stats) in get_slabinfo() argument
88 stats->min_obj_size = INT_MAX; in get_slabinfo()
103 if (stats->nr_caches++ == 0) in get_slabinfo()
121 if (p->obj_size < stats->min_obj_size) in get_slabinfo()
122 stats->min_obj_size = p->obj_size; in get_slabinfo()
123 if (p->obj_size > stats->max_obj_size) in get_slabinfo()
124 stats->max_obj_size = p->obj_size; in get_slabinfo()
130 stats->nr_active_caches++; in get_slabinfo()
134 stats->nr_objs += p->nr_objs; in get_slabinfo()
135 stats->nr_active_objs += p->nr_active_objs; in get_slabinfo()
[all …]
/system/extras/taskstats/
Dtaskstats.c41 struct taskstats stats; member
107 struct TaskStatistics* stats) { in parse_aggregate_task_stats() argument
111 stats->pid = nla_get_u32(attr); in parse_aggregate_task_stats()
114 stats->tgid = nla_get_u32(attr); in parse_aggregate_task_stats()
117 nla_memcpy(&stats->stats, attr, sizeof(stats->stats)); in parse_aggregate_task_stats()
126 struct TaskStatistics* stats = (struct TaskStatistics*)arg; in parse_task_stats() local
136 stats); in parse_task_stats()
147 struct TaskStatistics* stats) { in query_task_stats() argument
148 memset(stats, 0, sizeof(*stats)); in query_task_stats()
157 nl_cb_set(callbacks, NL_CB_VALID, NL_CB_DEFAULT, &parse_task_stats, stats); in query_task_stats()
[all …]
/system/core/logd/
DLogBuffer.cpp156 for (unsigned short i = 0; (buckets = stats.dgram_qlen(i)); ++i) { in log()
165 stats.recordDiff( in log()
209 stats.add(len, log_id, uid, pid); in log()
219 size_t sizes = stats.sizes(id); in maybePrune()
222 size_t elements = stats.elements(id); in maybePrune()
271 stats.subtract(len, id, uid, e->getPid()); in prune()
293 LidStatistics &l = stats.id(id); in prune()
324 stats.subtract(len, id, worst, e->getPid()); in prune()
334 stats.subtract(e->getMsgLen(), id, uid, e->getPid()); in prune()
357 if (stats.sizes(id) > (2 * log_buffer_size(id))) { in prune()
[all …]
DLogBuffer.h39 LogStatistics stats; variable
68 stats.enableDgramQlenStatistics(); in enableDgramQlenStatistics()
77 char *pidToName(pid_t pid) { return stats.pidToName(pid); } in pidToName()
78 uid_t pidToUid(pid_t pid) { return stats.pidToUid(pid); } in pidToUid()
/system/netd/server/
DBandwidthController.cpp1139 TetherStats stats; in parseForwardChainStats() local
1150 stats = filter; in parseForwardChainStats()
1172 stats.rxPackets = packets; in parseForwardChainStats()
1173 stats.rxBytes = bytes; in parseForwardChainStats()
1176 stats.txPackets = packets; in parseForwardChainStats()
1177 stats.txBytes = bytes; in parseForwardChainStats()
1182 stats.intIface = iface0; in parseForwardChainStats()
1183 stats.extIface = iface1; in parseForwardChainStats()
1184 stats.rxPackets = packets; in parseForwardChainStats()
1185 stats.rxBytes = bytes; in parseForwardChainStats()
[all …]
DBandwidthController.h93 int getTetherStats(SocketClient *cli, TetherStats &stats, std::string &extraProcessingInfo);
/system/extras/tests/ext4/
Drand_emmc_perf.c38 struct stats { struct
49 static void print_stats(struct stats *stats_buf, int stats_count, in print_stats() argument
113 struct stats *stats_buf; in stats_test()
117 stats_buf = malloc(stats_count * sizeof(struct stats)); in stats_test()
/system/core/toolbox/
Dps.c44 struct stat stats; in ps_line() local
54 stat(statline, &stats); in ps_line()
143 pw = getpwuid(stats.st_uid); in ps_line()
145 sprintf(user,"%d",(int)stats.st_uid); in ps_line()
/system/extras/sound/
Dplaywav.c41 struct msm_audio_stats stats; in pcm_play() local
82 if (ioctl(afd, AUDIO_GET_STATS, &stats) == 0) in pcm_play()
83 fprintf(stderr,"%10d\n", stats.out_bytes); in pcm_play()
/system/extras/tests/sdcard/
DREADME42 At the end of the test, some stats for the 'open' and 'write' system calls are written.
/system/core/logcat/
Devent.logtags101 # http request/response stats
/system/core/rootdir/
Dinit.rc144 # net_bw_stats grants access to other apps' detailed tagged-socket stats.
146 chown root net_bw_stats /proc/net/xt_qtaguid/stats