Commit f0d5bcdb authored by Ali Raheem's avatar Ali Raheem
Browse files

Properly offset wakeup time

parent 15c74e6c
Pipeline #2257 failed with stage
in 28 minutes and 30 seconds
......@@ -669,7 +669,7 @@ accounting_set_wakeup_time(void)
double t = (get_uint32(digest) % (int) exp(time_to_consider/2));
t = log(t);
if (branch == 1) t = -t;
interval_wakeup_time = interval_start_time + (int) t;
interval_wakeup_time = interval_start_time + time_to_consider/2 + t;
// interval_wakeup_time = interval_start_time +
// (get_uint32(digest) % time_to_consider);
}
......
Supports Markdown
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