Searched refs:stats (Results 1 - 5 of 5) sorted by relevance

/system/extras/showslab/
H A Dshowslab.c60 static struct slab_info * get_slabinfo(struct slab_stat *stats) argument
88 stats->min_obj_size = INT_MAX;
103 if (stats->nr_caches++ == 0)
121 if (p->obj_size < stats->min_obj_size)
122 stats->min_obj_size = p->obj_size;
123 if (p->obj_size > stats->max_obj_size)
124 stats->max_obj_size = p->obj_size;
130 stats->nr_active_caches++;
134 stats->nr_objs += p->nr_objs;
135 stats
273 struct slab_stat stats = { .nr_objs = 0 }; local
[all...]
/system/core/toolbox/
H A Dps.c39 struct stat stats; local
49 stat(statline, &stats);
137 pw = getpwuid(stats.st_uid);
139 sprintf(user,"%d",(int)stats.st_uid);
/system/netd/
H A DBandwidthController.cpp928 int BandwidthController::parseForwardChainStats(TetherStats &stats, FILE *fp) { argument
948 if ((stats.ifaceIn == iface0) && (stats.ifaceOut == iface1)) {
950 stats.rxPackets = packets;
951 stats.rxBytes = bytes;
952 } else if ((stats.ifaceOut == iface0) && (stats.ifaceIn == iface1)) {
954 stats.txPackets = packets;
955 stats.txBytes = bytes;
959 return (stats
970 getTetherStats(TetherStats &stats) argument
[all...]
H A DBandwidthController.h75 * stats should have ifaceIn and ifaceOut initialized.
78 int getTetherStats(TetherStats &stats);
123 * stats should have ifaceIn and ifaceOut initialized.
126 static int parseForwardChainStats(TetherStats &stats, FILE *fp);
/system/extras/sound/
H A Dplaywav.c41 struct msm_audio_stats stats; local
82 if (ioctl(afd, AUDIO_GET_STATS, &stats) == 0)
83 fprintf(stderr,"%10d\n", stats.out_bytes);

Completed in 71 milliseconds