Searched refs:fsd (Results 1 – 8 of 8) sorted by relevance
/external/ltp/utils/ffsb-6.0-rc2/ |
D | ffsb_stats.c | 81 void ffsb_statsd_init(ffsb_statsd_t * fsd, ffsb_statsc_t * fsc) in ffsb_statsd_init() argument 84 memset(fsd, 0, sizeof(*fsd)); in ffsb_statsd_init() 87 fsd->totals[i] = 0; in ffsb_statsd_init() 88 fsd->mins[i] = UINT_MAX; in ffsb_statsd_init() 89 fsd->maxs[i] = 0; in ffsb_statsd_init() 90 fsd->buckets[i] = ffsb_malloc(sizeof(uint32_t) * in ffsb_statsd_init() 92 assert(fsd->buckets[i] != NULL); in ffsb_statsd_init() 94 memset(fsd->buckets[i], 0, sizeof(uint32_t) * fsc->num_buckets); in ffsb_statsd_init() 96 fsd->config = fsc; in ffsb_statsd_init() 99 void ffsb_statsd_destroy(ffsb_statsd_t * fsd) in ffsb_statsd_destroy() argument [all …]
|
D | ffsb_thread.c | 42 if (ft->fsd.config) in destroy_ffsb_thread() 43 ffsb_statsd_destroy(&ft->fsd); in destroy_ffsb_thread() 48 ffsb_statsd_init(&ft->fsd, fsc); in ft_set_statsc() 157 if (ft && ft->fsd.config && !fsc_ignore_sys(ft->fsd.config, sys)) in ft_needs_stats() 165 ffsb_add_data(&ft->fsd, sys, val); in ft_add_stat() 170 return &ft->fsd; in ft_get_stats_data()
|
D | main.c | 205 ffsb_statsd_t fsd; in main() local 206 tg_collect_stats(tg, &fsd); in main() 207 ffsb_statsd_print(&fsd); in main()
|
D | ffsb_tg.c | 355 void tg_collect_stats(ffsb_tg_t * tg, ffsb_statsd_t * fsd) in tg_collect_stats() argument 360 ffsb_statsd_init(fsd, &tg->fsc); in tg_collect_stats() 363 ffsb_statsd_add(fsd, ft_get_stats_data(tg->threads + i)); in tg_collect_stats()
|
D | ffsb_stats.h | 104 void ffsb_statsd_print(ffsb_statsd_t *fsd);
|
D | ffsb_thread.h | 58 ffsb_statsd_t fsd; member
|
D | ffsb_fs.h | 111 ffsb_statsd_t fsd; member
|
D | ffsb_fs.c | 623 return (fs != NULL) ? (int)fs->fsd.config : 0; in fs_needs_stats() 629 ffsb_add_data(&fs->fsd, sys, val); in fs_add_stat()
|