Lines Matching full:time
31 /* This module computes an average of a set of values within a time
38 * - Each time you want to account a new value, do it in both windows.
53 /* Update the expiration of a time window
56 * @now: the current time in nanoseconds
62 /* time elapsed since the last theoretical expiration */ in update_expiration()
64 /* time remaininging until the next expiration */ in update_expiration()
83 * expiration time).
97 * @period: the time window period in nanoseconds
121 /* Check if the time windows have expired, updating their counters and
122 * expiration time if that's the case.
125 * @elapsed: if non-NULL, the elapsed time (in ns) within the current
151 /* Calculate the elapsed time within the current window */ in check_expirations()
168 /* Do the accounting in both windows at the same time */ in timed_average_account()
224 * @elapsed: if non-NULL, the elapsed time (in ns) will be stored here