• Home
  • Raw
  • Download

Lines Matching full:env

55 void print_stats(child_args_t * args, test_env_t * env, statop_t operation)  in print_stats()  argument
66 if ((curr_time - env->start_time) == 0) in print_stats()
70 hread_time = env->hbeat_stats.rtime; in print_stats()
71 hwrite_time = env->hbeat_stats.wtime; in print_stats()
72 read_time = env->cycle_stats.rtime; in print_stats()
73 write_time = env->cycle_stats.wtime; in print_stats()
74 gr_time = env->global_stats.rtime; in print_stats()
75 gw_time = env->global_stats.wtime; in print_stats()
77 hread_time = ((env->hbeat_stats.rtime * args->rperc) / 100); in print_stats()
78 hwrite_time = ((env->hbeat_stats.wtime * args->wperc) / 100); in print_stats()
79 read_time = ((env->cycle_stats.rtime * args->rperc) / 100); in print_stats()
80 write_time = ((env->cycle_stats.wtime * args->wperc) / 100); in print_stats()
82 (time_t) ((env->global_stats.rtime * args->rperc) / 100); in print_stats()
84 (time_t) ((env->global_stats.wtime * args->wperc) / 100); in print_stats()
108 printf(CTRSTR, (env->hbeat_stats.rbytes), in print_stats()
109 (env->hbeat_stats.rcount)); in print_stats()
110 printf(CTWSTR, (env->hbeat_stats.wbytes), in print_stats()
111 (env->hbeat_stats.wcount)); in print_stats()
115 ((double)(env->hbeat_stats.rbytes) / in print_stats()
117 ((double)(env->hbeat_stats.rcount) / in print_stats()
120 ((double)(env->hbeat_stats.wbytes) / in print_stats()
122 ((double)(env->hbeat_stats.wcount) / in print_stats()
132 printf(CTRSTR, (env->cycle_stats.rbytes), in print_stats()
133 (env->cycle_stats.rcount)); in print_stats()
134 printf(CTWSTR, (env->cycle_stats.wbytes), in print_stats()
135 (env->cycle_stats.wcount)); in print_stats()
139 ((double)(env->cycle_stats.rbytes) / in print_stats()
141 ((double)(env->cycle_stats.rcount) / in print_stats()
144 ((double)(env->cycle_stats.wbytes) / in print_stats()
146 ((double)(env->cycle_stats.wcount) / in print_stats()
156 printf(TCTRSTR, (env->global_stats.rbytes), in print_stats()
157 (env->global_stats.rcount)); in print_stats()
158 printf(TCTWSTR, (env->global_stats.wbytes), in print_stats()
159 (env->global_stats.wcount)); in print_stats()
163 ((double)(env->global_stats.rbytes) / in print_stats()
165 ((double)(env->global_stats.rcount) / in print_stats()
168 ((double)(env->global_stats.wbytes) / in print_stats()
170 ((double)(env->global_stats.wcount) / in print_stats()
175 (curr_time - env->start_time)); in print_stats()
191 (env->hbeat_stats.rbytes), in print_stats()
192 (env->hbeat_stats.rcount)); in print_stats()
196 (env->hbeat_stats.wbytes), in print_stats()
197 (env->hbeat_stats.wcount)); in print_stats()
203 (env->cycle_stats.rbytes), in print_stats()
204 (env->cycle_stats.rcount)); in print_stats()
208 (env->cycle_stats.wbytes), in print_stats()
209 (env->cycle_stats.wcount)); in print_stats()
215 (env->global_stats.rcount), in print_stats()
216 (env->global_stats.rbytes)); in print_stats()
220 (env->global_stats.wcount), in print_stats()
221 (env->global_stats.wbytes)); in print_stats()
235 ((double)env->hbeat_stats.rbytes / in print_stats()
237 (((double)env->hbeat_stats.rbytes / in print_stats()
240 ((double)env->hbeat_stats.rcount / in print_stats()
245 ((double)env->hbeat_stats.wbytes / in print_stats()
247 (((double)env->hbeat_stats.wbytes / in print_stats()
250 ((double)env->hbeat_stats.wcount / in print_stats()
257 ((double)env->cycle_stats.rbytes / in print_stats()
259 (((double)env->cycle_stats.rbytes / in print_stats()
262 ((double)env->cycle_stats.rcount / in print_stats()
267 ((double)env->cycle_stats.wbytes / in print_stats()
269 (((double)env->cycle_stats.wbytes / in print_stats()
272 ((double)env->cycle_stats.wcount / in print_stats()
279 ((double)env->global_stats.rbytes / in print_stats()
281 (((double)env->global_stats. in print_stats()
284 ((double)env->global_stats.rcount / in print_stats()
289 ((double)env->global_stats.wbytes / in print_stats()
291 (((double)env->global_stats. in print_stats()
294 ((double)env->global_stats.wcount / in print_stats()
377 void update_gbl_stats(test_env_t * env) in update_gbl_stats() argument
379 env->global_stats.wcount += env->cycle_stats.wcount; in update_gbl_stats()
380 env->global_stats.rcount += env->cycle_stats.rcount; in update_gbl_stats()
381 env->global_stats.wbytes += env->cycle_stats.wbytes; in update_gbl_stats()
382 env->global_stats.rbytes += env->cycle_stats.rbytes; in update_gbl_stats()
383 env->global_stats.wtime += env->cycle_stats.wtime; in update_gbl_stats()
384 env->global_stats.rtime += env->cycle_stats.rtime; in update_gbl_stats()
386 env->cycle_stats.wcount = 0; in update_gbl_stats()
387 env->cycle_stats.rcount = 0; in update_gbl_stats()
388 env->cycle_stats.wbytes = 0; in update_gbl_stats()
389 env->cycle_stats.rbytes = 0; in update_gbl_stats()
390 env->cycle_stats.wtime = 0; in update_gbl_stats()
391 env->cycle_stats.rtime = 0; in update_gbl_stats()
394 void update_cyc_stats(test_env_t * env) in update_cyc_stats() argument
396 env->cycle_stats.wcount += env->hbeat_stats.wcount; in update_cyc_stats()
397 env->cycle_stats.rcount += env->hbeat_stats.rcount; in update_cyc_stats()
398 env->cycle_stats.wbytes += env->hbeat_stats.wbytes; in update_cyc_stats()
399 env->cycle_stats.rbytes += env->hbeat_stats.rbytes; in update_cyc_stats()
400 env->cycle_stats.wtime += env->hbeat_stats.wtime; in update_cyc_stats()
401 env->cycle_stats.rtime += env->hbeat_stats.rtime; in update_cyc_stats()
403 env->hbeat_stats.wcount = 0; in update_cyc_stats()
404 env->hbeat_stats.rcount = 0; in update_cyc_stats()
405 env->hbeat_stats.wbytes = 0; in update_cyc_stats()
406 env->hbeat_stats.rbytes = 0; in update_cyc_stats()
407 env->hbeat_stats.wtime = 0; in update_cyc_stats()
408 env->hbeat_stats.rtime = 0; in update_cyc_stats()