Add gtod_cpu option for pinning gettimeofday() to a single CPU
authorJens Axboe <jens.axboe@oracle.com>
Mon, 8 Dec 2008 13:10:52 +0000 (14:10 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 8 Dec 2008 13:10:52 +0000 (14:10 +0100)
commitbe4ecfdf6c8daa75c4df8ac875c9a87da80d81a0
treeeb09e70227a2231e8d13f436ec6cd0be0916e920
parent43c129b4ff85a7f7f7e0929f9dd73e756e37a2e3
Add gtod_cpu option for pinning gettimeofday() to a single CPU

Similar to what real life products sometimes do, offload gettimeofday()
calls to a single CPU and have that update the current time into a shared
memory location. This option pins a specific CPU for that job, and excludes
it from participating in any of the IO jobs.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
HOWTO
fio.c
fio.h
gettime.c
init.c
options.c
os/os-linux.h
os/os.h