path: root/btt/inlines.h
diff options
authorAlan D. Brunelle <>2007-03-05 12:41:38 +0100
committerJens Axboe <>2007-03-05 12:41:38 +0100
commit512566d40074e9d263182e5df6a87993c198323e (patch)
tree94ba92ea681172a6d320aadb2c48562ea18addf6 /btt/inlines.h
parent74dc9101593183cbf464680dc9c2278734449469 (diff)
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 <> Signed-off-by: Jens Axboe <>
Diffstat (limited to 'btt/inlines.h')
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));
UPDATE_AVGS_N(d2c, iop, iop->pip, c_time, n);