commit | fd841467ce4a5875dba2d21da6851936b46fdb08 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Sat Jan 13 12:20:30 2007 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Sat Jan 13 12:20:30 2007 +0100 |
tree | 5f039256e9aa5b83cf8ac3e82e1090c30f3fd27c | |
parent | 6ce15a32b28f359b3753ef65d883ab2d824e19f2 [diff] |
[PATCH] Improve rate functionality usec_sleep() now takes into account the granularity of nanosleep(). Also stop using the remainder returned by nanosleep(), it doesn't appear to always be accurate. Instead just check the elapsed time manually. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>