FlightGear next
TimeStampObj Class Reference

Timestamp - used to provide millisecond based timing of operations. See SGTimeStamp / 0.373404us to perform elapsedUSec from Nasal : Tested i7-4790K, Win64. More...

Inherits SGReferenced.

Public Member Functions

 TimeStampObj (Context *c)
 
virtual ~TimeStampObj ()=default
 
void stamp ()
 
double elapsedMSec ()
 
double elapsedUSec ()
 

Detailed Description

Timestamp - used to provide millisecond based timing of operations. See SGTimeStamp / 0.373404us to perform elapsedUSec from Nasal : Tested i7-4790K, Win64.

Definition at line 249 of file NasalSys.cxx.

Constructor & Destructor Documentation

◆ TimeStampObj()

TimeStampObj::TimeStampObj ( Context * c)
inline

Definition at line 252 of file NasalSys.cxx.

◆ ~TimeStampObj()

virtual TimeStampObj::~TimeStampObj ( )
virtualdefault

Member Function Documentation

◆ elapsedMSec()

double TimeStampObj::elapsedMSec ( )
inline

Definition at line 263 of file NasalSys.cxx.

◆ elapsedUSec()

double TimeStampObj::elapsedUSec ( )
inline

Definition at line 267 of file NasalSys.cxx.

◆ stamp()

void TimeStampObj::stamp ( )
inline

Definition at line 259 of file NasalSys.cxx.


The documentation for this class was generated from the following file: