replicant-frameworks_native/cmds/dumpstate
Christopher Ferris e2c86c71c2 Use time() instead of clock() for timeouts.
The clock() function returns the processor time used by the process. This
is not a good timeout mechanism since the code is suspended most of the
time waiting for the forked process to finish. Replace with the time()
function.

Bug: 17154069

(cherry picked from commit 89d4949f86)

Change-Id: I42f0f24ee53ef99955fd482a1089e39d491f3bd5
2014-09-09 13:36:52 -07:00
..
Android.mk dumpstate: switch to HAL static libraries 2013-08-13 16:30:01 -07:00
dumpstate.c Add dumping of tombstones to dumpstate. 2014-07-23 16:33:01 -07:00
dumpstate.h Add dumping of tombstones to dumpstate. 2014-07-23 16:33:01 -07:00
libdumpstate_default.c dumpstate: switch to HAL static libraries 2013-08-13 16:30:01 -07:00
utils.c Use time() instead of clock() for timeouts. 2014-09-09 13:36:52 -07:00