Commit 238d27c5 authored by Guillaume Quintard's avatar Guillaume Quintard Committed by Martin Blix Grydeland

Only commit once, at the end of transaction

parent 01e6b2e3
......@@ -209,6 +209,8 @@ accumulate(struct VSL_data *vsl, struct VSL_transaction * const pt[],
assert(i == 1);
} else if (tag == SLT_Hit)
hit = 1;
if (tag != SLT_ReqEnd && value == -1)
continue;
/* select bucket */
i = HIST_RES * (log(value) / log_ten);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment