Lines Matching refs:eta_secs
358 uint64_t rate_time, disp_time, bw_avg_time, *eta_secs; in calc_thread_status() local
384 eta_secs = malloc(thread_number * sizeof(uint64_t)); in calc_thread_status()
385 memset(eta_secs, 0, thread_number * sizeof(uint64_t)); in calc_thread_status()
434 eta_secs[i] = thread_eta(td); in calc_thread_status()
436 eta_secs[i] = INT_MAX; in calc_thread_status()
458 if (eta_secs[i] < je->eta_sec) in calc_thread_status()
459 je->eta_sec = eta_secs[i]; in calc_thread_status()
467 eta_stone += eta_secs[i]; in calc_thread_status()
469 if (eta_secs[i] > je->eta_sec) in calc_thread_status()
470 je->eta_sec = eta_secs[i]; in calc_thread_status()
476 free(eta_secs); in calc_thread_status()