Return how far this turnstile lags behind schedule, in microseconds.

Synopsis

Declared in <bslmt_turnstile.h>

bsls::Types::Int64
lagTime() const;

Description

Return the positive number of microseconds difference between the the current time and the next turn, indicating that the turnstile is lagging behind the configured rate. Otherwise, return 0.

Return Value

positive lag in microseconds, or 0 if not lagging

Created with MrDocs