• Home
  • Raw
  • Download

Lines Matching refs:results

58 void init_ffsb_op_results(ffsb_op_results_t * results)  in init_ffsb_op_results()  argument
60 memset(results, 0, sizeof(ffsb_op_results_t)); in init_ffsb_op_results()
63 static int exclusive_op(ffsb_op_results_t * results, unsigned int op_num) in exclusive_op() argument
70 ret += results->ops[i]; in exclusive_op()
85 static void print_op_results(unsigned int op_num, ffsb_op_results_t * results, in print_op_results() argument
91 double op_pcnt = 100 * (double)results->ops[op_num] / (double)total_ops; in print_op_results()
92 double weight_pcnt = 100 * (double)results->op_weight[op_num] / in print_op_results()
95 ffsb_printsize(buf, results->bytes[op_num] / runtime, 256); in print_op_results()
99 generic_op_print(ffsb_op_list[op_num].op_name, results->ops[op_num], in print_op_results()
105 ffsb_op_results_t * results, double runtime)
108 ffsb_op_list[op_num].op_exl_print_fn(results, runtime, op_num);
112 void print_results(struct ffsb_op_results *results, double runtime) in print_results() argument
120 total_ops += results->ops[i]; in print_results()
121 total_weight += results->op_weight[i]; in print_results()
129 if (results->ops[i] != 0) in print_results()
130 print_op_results(i, results, runtime, total_ops, in print_results()
135 if (results->write_bytes || results->read_bytes) in print_results()
137 if (results->read_bytes) { in print_results()
138 ffsb_printsize(buf, results->read_bytes / runtime, 256); in print_results()
141 if (results->write_bytes) { in print_results()
142 ffsb_printsize(buf, results->write_bytes / runtime, 256); in print_results()