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

/frameworks/wilhelm/tests/sandbox/
H A Dplaybq.c556 long elapsedNs = 0; local
572 elapsedNs += (curTs.tv_sec - prevTs.tv_sec) * 1000000000 +
576 if (elapsedNs < deltaRateNs) {
577 usleep((deltaRateNs - elapsedNs) / 1000);
580 elapsedNs -= deltaRateNs;
H A Dplaybq.cpp556 long elapsedNs = 0; local
572 elapsedNs += (curTs.tv_sec - prevTs.tv_sec) * 1000000000 +
576 if (elapsedNs < deltaRateNs) {
577 usleep((deltaRateNs - elapsedNs) / 1000);
580 elapsedNs -= deltaRateNs;

Completed in 34 milliseconds