Lines Matching refs:fc
61 ffsb_config_t fc; in main() local
91 ffsb_parse_newconfig(&fc, argv[1]); in main()
92 pdata.wait_time = fc.time; in main()
94 if (fc.time) in main()
95 printf("benchmark time = %u\n", fc.time); in main()
102 for (i = 0; i < fc.num_threadgroups; i++) in main()
103 tg_print_config(&fc.groups[i]); in main()
105 fs_pts = ffsb_malloc(sizeof(pthread_t) * fc.num_filesys); in main()
108 for (i = 0; i < fc.num_filesys; i++) { in main()
109 fs_print_config(&fc.filesystems[i]); in main()
111 &fc.filesystems[i]); in main()
115 for (i = 0; i < fc.num_filesys; i++) in main()
123 if (fc.time == 0) { in main()
128 params = ffsb_malloc(sizeof(tg_run_params_t) * fc.num_threadgroups); in main()
131 ffsb_barrier_init(&thread_barrier, fc.num_totalthreads); in main()
132 ffsb_barrier_init(&tg_barrier, fc.num_threadgroups + 1); in main()
137 callout = fc_get_callout(&fc); in main()
147 for (i = 0; i < fc.num_threadgroups; i++) { in main()
148 params[i].tg = &fc.groups[i]; in main()
149 params[i].fc = &fc; in main()
168 for (i = 0; i < fc.num_threadgroups; i++) in main()
187 for (i = 0; i < fc.num_threadgroups; i++) { in main()
189 ffsb_tg_t *tg = fc.groups + i; in main()
196 if (fc.num_threadgroups == 1) in main()
212 tg_collect_results(&fc.groups[i], &total_results); in main()
215 if (fc.num_threadgroups > 1) { in main()
252 destroy_ffsb_config(&fc); in main()