Searched refs:end_ts (Results 1 - 1 of 1) sorted by relevance

/system/core/storaged/
H A Dstoraged.cpp253 struct timespec start_ts, end_ts; local
268 if (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &end_ts) < 0) {
275 int64_t cost = (end_ts.tv_sec - start_ts.tv_sec) * SEC_TO_USEC +
276 (end_ts.tv_nsec - start_ts.tv_nsec) / USEC_TO_NSEC;

Completed in 985 milliseconds