Module game_time::framerate::sample [] [src]

Utilities for computing average frame rate.

Structs

LinearAverageSampler

A frame rate sampler that computes the average frame rate of a number of past frames.

RunningAverageSampler

A frame rate sampler that computes a moving average from past frames without caching data.

Constants

DEFAULT_NUM_SAMPLES

The default number of samples for frame rate samplers.

Traits

FrameRateSampler

Frame rate computation.