Home
last modified time | relevance | path

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

/hardware/google/pixel/power-libperfmgr/disp-power/
DInteractionHandler.cpp119 size_t diff_in_us = 0; in CalcTimespecDiffMs() local
120 diff_in_us += (end.tv_sec - start.tv_sec) * MSINSEC; in CalcTimespecDiffMs()
121 diff_in_us += (end.tv_nsec - start.tv_nsec) / USINMS; in CalcTimespecDiffMs()
122 return diff_in_us; in CalcTimespecDiffMs()