Home | History | Annotate | Download | only in fio

Lines Matching refs:td

41 uint64_t usec_sleep(struct thread_data *td, unsigned long usec)
75 } while (!td->terminate);
95 bool in_ramp_time(struct thread_data *td)
97 return td->o.ramp_time && !td->ramp_time_over;
100 static void parent_update_ramp(struct thread_data *td)
102 struct thread_data *parent = td->parent;
112 bool ramp_time_over(struct thread_data *td)
116 if (!td->o.ramp_time || td->ramp_time_over)
120 if (utime_since(&td->epoch, &tv) >= td->o.ramp_time) {
121 td->ramp_time_over = 1;
122 reset_all_stats(td);
123 td_set_runstate(td, TD_RAMP);
124 parent_update_ramp(td);
162 void set_epoch_time(struct thread_data *td, int log_unix_epoch)
164 fio_gettime(&td->epoch, NULL);
168 td->unix_epoch = (unsigned long long)(tv.tv_sec) * 1000 +