Home
last modified time | relevance | path

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

/device/google/atv/audio_proxy/service/
DDummyBusOutputStream.cpp31 int64_t timespecDelta(const timespec& newTime, const timespec& oldTime) { in timespecDelta() argument
34 if (newTime.tv_nsec >= oldTime.tv_nsec) { in timespecDelta()
35 deltaSec = newTime.tv_sec - oldTime.tv_sec; in timespecDelta()
36 deltaNSec = newTime.tv_nsec - oldTime.tv_nsec; in timespecDelta()
38 deltaSec = newTime.tv_sec - oldTime.tv_sec - 1; in timespecDelta()
39 deltaNSec = kOneSecInNs + newTime.tv_nsec - oldTime.tv_nsec; in timespecDelta()