Nebula
Loading...
Searching...
No Matches
time.h File Reference

Detailed Description

Typedefs for the Timing subsystem.

#include "core/types.h"

Go to the source code of this file.

Namespaces

namespace  Timing

Typedefs

typedef double Timing::Time
 the time datatype
typedef int Timing::Tick
 the tick datatype (one tick == 1 millisecond)

Functions

Time Timing::TicksToSeconds (Tick ticks)
 Convert ticks to seconds.
Tick Timing::SecondsToTicks (Time t)
 Convert seconds to ticks.
void Timing::Sleep (Time t)
 Put current thread to sleep for specified amount of seconds.