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

/frameworks/wilhelm/tests/sandbox/
H A Dplaybq.c483 long elapsedNs = 0; local
499 elapsedNs += (curTs.tv_sec - prevTs.tv_sec) * 1000000000 +
503 if (elapsedNs < deltaRateNs) {
504 usleep((deltaRateNs - elapsedNs) / 1000);
507 elapsedNs -= deltaRateNs;
H A Dplaybq.cpp483 long elapsedNs = 0; local
499 elapsedNs += (curTs.tv_sec - prevTs.tv_sec) * 1000000000 +
503 if (elapsedNs < deltaRateNs) {
504 usleep((deltaRateNs - elapsedNs) / 1000);
507 elapsedNs -= deltaRateNs;

Completed in 44 milliseconds