Whamcloud - gitweb
LU-1023 utils: Time counting fix for obdfilter-survey
authorwangdi <di.wang@whamcloud.com>
Tue, 24 Jan 2012 03:56:09 +0000 (19:56 -0800)
committerOleg Drokin <green@whamcloud.com>
Sun, 5 Feb 2012 02:30:33 +0000 (21:30 -0500)
commit2e562ab4ad1c9b73c99ec7473a997a0e57ac8392
treea26e56e3f79a87c063db756db453202d9b8af6ba
parent58f98d4c4477f16557b54162a9566ac38a0fef38
LU-1023 utils: Time counting fix for obdfilter-survey

1. Assigning the start and end time of test_brw so it
   can get correct time usage.
2. In mds_survey, it adds a new output line for threas utils,
   (Total: total xxxx threads X sec ...), and we should skip
   this line in get_stats(obdfilter-survey), so it can get
   correct min/max time.

Signed-off-by: Wang Di <di.wang@whamcloud.com>
Change-Id: I58c13bde299c254ed10e1405bfed3e1dce4ef216
Reviewed-on: http://review.whamcloud.com/1999
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre-iokit/obdfilter-survey/obdfilter-survey
lustre/utils/obd.c