summaryrefslogtreecommitdiff
path: root/btt/trace_complete.c
diff options
context:
space:
mode:
Diffstat (limited to 'btt/trace_complete.c')
-rw-r--r--btt/trace_complete.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/btt/trace_complete.c b/btt/trace_complete.c
index d34fbd0..44732c5 100644
--- a/btt/trace_complete.c
+++ b/btt/trace_complete.c
@@ -78,6 +78,7 @@ static void handle_complete(struct io *c_iop)
if (q_iop->d_time != (__u64)-1) {
__u64 d2c = tdelta(q_iop->d_time, c_iop->t.time);
+ p_live_add(q_iop->dip, q_iop->d_time, c_iop->t.time);
update_d2c(q_iop, d2c);
latency_d2c(q_iop->dip, c_iop->t.time, d2c);
iostat_complete(q_iop, c_iop);