Searched refs:diffNs (Results 1 – 2 of 2) sorted by relevance
92 int64_t diffNs = mEndTimeNs - mBeginTimeNs; // if onEnd() isn't matched, diffNs < 0. in toString() local93 if (diffNs < 0) { in toString()94 diffNs = nowNs - mBeginTimeNs; in toString()95 cumulativeTimeNs += diffNs; in toString()98 const double lastRunPerSec = 1e9 / diffNs; in toString()
390 const int64_t diffNs = stream->getStopTimeNs() - nowNs; in run() local391 if (diffNs > 0) { in run()392 waitTimeNs = std::min(waitTimeNs, diffNs); in run()