[TOOLS] bugfix in latency tests.
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 7 Oct 2008 14:57:45 +0000 (14:57 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 7 Oct 2008 14:57:45 +0000 (14:57 +0000)
commit3f330ba096bcac391a7301f9066656a50148b6da
treeb07c9494007711ce6ada3b0c79a6e3aa96297317
parentc3d0259ed789b1c79b28b2d7c727e59e087063af
[TOOLS] bugfix in latency tests.

The tests didn't take into account that the time stamping function (QueryPerformanceCounter) can take a lot of time.
But in Win2008 in takes more than 1.1 usec, which causes printing latency value 1.1 usec more than it really is !

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1635 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
tools/perftests/user/read_lat/read_lat.c
tools/perftests/user/send_lat/send_lat.c
tools/perftests/user/write_lat/write_lat.c