Lines Matching refs:elapsed
869 struct timeval elapsed;
882 microuptime(&elapsed);
883 timevalsub(&elapsed, &info->throttle_last_IO_timestamp[throttle_level]);
884 elapsed_msecs = (uint64_t)elapsed.tv_sec * (uint64_t)1000 + (elapsed.tv_usec / 1000);
924 struct timeval elapsed;
933 microuptime(&elapsed);
934 timevalsub(&elapsed, &info->throttle_start_IO_period_timestamp);
935 elapsed_msecs = (uint64_t)elapsed.tv_sec * (uint64_t)1000 + (elapsed.tv_usec / 1000);
1248 struct timeval elapsed;
1258 microuptime(&elapsed);
1259 timevalsub(&elapsed, &info->throttle_last_IO_timestamp[throttle_level]);
1260 elapsed_msecs = (uint64_t)elapsed.tv_sec * (uint64_t)1000 + (elapsed.tv_usec / 1000);
1568 struct timeval elapsed;
1587 microuptime(&elapsed);
1588 timevalsub(&elapsed, &info->throttle_last_IO_timestamp[throttle_level]);
1589 elapsed_msecs = (uint64_t)elapsed.tv_sec * (uint64_t)1000 + (elapsed.tv_usec / 1000);