Module amethyst_core::timing [] [src]

Utilities for working with time.

Structs

Time

Frame timing values.

Enums

Stopwatch

A stopwatch which accurately measures elapsed time.

Functions

duration_to_nanos

Converts a Duration to nanoseconds

duration_to_secs

Converts a Duration to the time in seconds.

duration_to_secs_f64

Converts a Duration to the time in seconds in an f64.

nanos_to_duration

Converts nanoseconds to a Duration

secs_to_duration

Converts a time in seconds to a duration