fm.liveswitch.SystemClock Class Reference

A system clock. More...

Public Member Functions

long getTimestamp ()
 Gets the current system timestamp in ticks. More...
 
 SystemClock ()
 

Detailed Description

A system clock.

Constructor & Destructor Documentation

◆ SystemClock()

fm.liveswitch.SystemClock.SystemClock ( )

Member Function Documentation

◆ getTimestamp()

long fm.liveswitch.SystemClock.getTimestamp ( )

Gets the current system timestamp in ticks.

10,000 ticks is equal to 1 millisecond.

Returns
The current system timestamp in ticks.

Implements fm.liveswitch.ISystemClock.