diff options
author | Alan D. Brunelle <Alan.Brunelle@hp.com> | 2007-03-05 12:41:38 +0100 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2007-03-05 12:41:38 +0100 |
commit | 512566d40074e9d263182e5df6a87993c198323e (patch) | |
tree | 94ba92ea681172a6d320aadb2c48562ea18addf6 /btt/inlines.h | |
parent | 74dc9101593183cbf464680dc9c2278734449469 (diff) | |
download | blktrace-512566d40074e9d263182e5df6a87993c198323e.tar.gz blktrace-512566d40074e9d263182e5df6a87993c198323e.tar.bz2 |
BTT: Added user guide
o Added in new btt/doc directory w/ Makefile.
o Added in btt/doc/btt.tex: First pass at a User Guide for btt.
o Fixed usage for btt (missing -A in the usage).
o Bumped version of btt to reflect this document.
o Cleaned up a leftover debug entry
Note: The document does /not/ have the charts intended in the final
copy yet. Hasn't even gone through a spelling & grammar & consistency
check yet.
But it's a start...
Signed-off-by: Alan D. Brunelle <Alan.Brunelle@hp.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'btt/inlines.h')
-rw-r--r-- | btt/inlines.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/btt/inlines.h b/btt/inlines.h index 8756bea..3dff512 100644 --- a/btt/inlines.h +++ b/btt/inlines.h @@ -232,7 +232,9 @@ static inline void unupdate_i2d(struct io *iop, __u64 d_time) static inline void update_d2c(struct io *iop, int n, __u64 c_time) { +#if defined(DEBUG) if (per_io_ofp) fprintf(per_io_ofp, "d2c %13.9f\n", n*BIT_TIME(c_time)); +#endif UPDATE_AVGS_N(d2c, iop, iop->pip, c_time, n); } |