summaryrefslogtreecommitdiff
path: root/btt/latency.c
diff options
context:
space:
mode:
authorAlan D. Brunelle <alan.brunelle@hp.com>2008-10-16 12:03:45 -0400
committerAlan D. Brunelle <alan.brunelle@hp.com>2008-10-16 12:05:46 -0400
commit2baef5087c57d39ee2fc488cd52348f61f32b1fc (patch)
treed68dbf29fbf2ba895dd7cde1033c2f244e1198be /btt/latency.c
parent4ae2c3c6215de3f9016b5211ac83893cb061b1e1 (diff)
downloadblktrace-2baef5087c57d39ee2fc488cd52348f61f32b1fc.tar.gz
blktrace-2baef5087c57d39ee2fc488cd52348f61f32b1fc.tar.bz2
Added in -L option - output periodic latency information
Diffstat (limited to 'btt/latency.c')
-rw-r--r--btt/latency.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/btt/latency.c b/btt/latency.c
index 916f566..4fb02d5 100644
--- a/btt/latency.c
+++ b/btt/latency.c
@@ -62,10 +62,12 @@ void latency_clean(void)
void latency_d2c(struct d_info *dip, __u64 tstamp, __u64 latency)
{
+ plat_x2c(dip->d2c_plat_handle, tstamp, latency);
latency_out(dip->d2c_ofp, tstamp, latency);
}
void latency_q2c(struct d_info *dip, __u64 tstamp, __u64 latency)
{
+ plat_x2c(dip->q2c_plat_handle, tstamp, latency);
latency_out(dip->q2c_ofp, tstamp, latency);
}