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

/frameworks/wilhelm/tests/sandbox/
H A Dintbufq.c150 float hz = 441; local
153 sine[i].left = sin((float) (i / (sr / hz)) * pi2 ) * 32000.0;
157 square[i].left = (i % (unsigned) (sr / hz)) < 50 ? 32767 : -32768;
161 sawtooth[i].left = ((((int) (i % (unsigned) (sr / hz))) - 50) / 100.0) * 60000.0 - 30000.0;
/frameworks/native/cmds/dumpstate/
H A Dutils.cpp450 static long hz; // cache discovered hz local
452 if (hz <= 0) {
453 hz = sysconf(_SC_CLK_TCK);
454 if (hz <= 0) {
455 hz = 1000;
460 time = (time * 100 + (hz / 2)) / hz;

Completed in 8451 milliseconds