Home
last modified time | relevance | path

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

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