d25a3147c1
Add the API for calculating the duration for a series of events from a given meter for a given resource. Replace the old duration calculation in the storage engine API with get_event_interval(). Change-Id: I54952e760fc5e108fa25d71b601b7ef2a4937e9e Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>