Home
last modified time | relevance | path

Searched refs:stats (Results 1 – 9 of 9) 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/tests/bionic/libc/common/
Dbench_pthread.c78 static int64_t stats[MAX_STATS]; variable
99 qsort(stats, count, sizeof(stats[0]), compare_stats); in filter_stats()
110 median = stats[(min_index+max_index)/2]; in filter_stats()
113 min = stats[min_index]; in filter_stats()
114 max = stats[max_index]; in filter_stats()
120 total += stats[nn]; in filter_stats()
130 printf(" %lld", (long long)stats[nn]); in filter_stats()
148 stats[num_stats++] = sub_end - sub_start; \
/system/netd/
DBandwidthController.cpp993 int BandwidthController::parseForwardChainStats(TetherStats &stats, FILE *fp, in parseForwardChainStats() argument
1016 if ((stats.ifaceIn == iface0) && (stats.ifaceOut == iface1)) { in parseForwardChainStats()
1018 stats.rxPackets = packets; in parseForwardChainStats()
1019 stats.rxBytes = bytes; in parseForwardChainStats()
1020 } else if ((stats.ifaceOut == iface0) && (stats.ifaceIn == iface1)) { in parseForwardChainStats()
1022 stats.txPackets = packets; in parseForwardChainStats()
1023 stats.txBytes = bytes; in parseForwardChainStats()
1027 return (stats.rxBytes == -1 || stats.txBytes == -1) ? -1 : 0; in parseForwardChainStats()
1038 int BandwidthController::getTetherStats(TetherStats &stats, std::string &extraProcessingInfo) { in getTetherStats() argument
1044 if (stats.rxBytes != -1 || stats.txBytes != -1) { in getTetherStats()
[all …]
DBandwidthController.h81 int getTetherStats(TetherStats &stats, std::string &extraProcessingInfo);
143 static int parseForwardChainStats(TetherStats &stats, FILE *fp,
/system/core/toolbox/
Dps.c40 struct stat stats; in ps_line() local
50 stat(statline, &stats); in ps_line()
140 pw = getpwuid(stats.st_uid); in ps_line()
142 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.logtags105 # http request/response stats
/system/core/rootdir/
Dinit.rc126 # net_bw_stats grants access to other apps' detailed tagged-socket stats.
128 chown root net_bw_stats /proc/net/xt_qtaguid/stats