Lines Matching defs:ts
594 td->ts.short_io_u[io_u->ddir]++;
862 td->ts.short_io_u[io_u->ddir]++;
1283 td->ts.total_io_u[io_u->ddir]++;
1532 td->ts.runtime[DDIR_READ] += elapsed;
1536 td->ts.runtime[DDIR_WRITE] += elapsed;
1540 td->ts.runtime[DDIR_TRIM] += elapsed;
1560 td->ts.runtime[DDIR_READ] += mtime_since_now(&td->start);
1569 td->ts.total_run_time = mtime_since_now(&td->epoch);
1570 td->ts.io_bytes[DDIR_READ] = td->io_bytes[DDIR_READ];
1571 td->ts.io_bytes[DDIR_WRITE] = td->io_bytes[DDIR_WRITE];
1572 td->ts.io_bytes[DDIR_TRIM] = td->io_bytes[DDIR_TRIM];
2137 struct timespec ts;
2141 ts.tv_sec = tv.tv_sec + sec;
2142 ts.tv_nsec = (tv.tv_usec * 1000) + nsec;
2144 if (ts.tv_nsec >= 1000000000ULL) {
2145 ts.tv_nsec -= 1000000000ULL;
2146 ts.tv_sec++;
2149 pthread_cond_timedwait(&helper_cond, &helper_lock, &ts);