MKI_TIMER (Basic Classes) New in Version 2023.2

www.CAD6.com

C++ Syntax

class MKI_TIMER

{

  public:

 

  MKI_TIMER( void );

 

  MKI_TIMER( __int32 f_nMilliseconds );

 

  void

  Reset( __int32 f_nMilliseconds );

 

  void

  Restart( void );

 

  bool

  IsExpired( void );

 

  double

  GetSecondsSinceStart( void );

 

  double

  GetSecondsSinceLast( void );

 

  __int32

  GetMilliSecondsSinceStart( void );

 

  __int32

  GetMilliSecondsSinceLast( void );

 

  __int64

  GetTicksSinceStart( void );

 

  __int64

  GetTicksSinceLast( void );

 

  __int64

  GetTicksPerSecond( void ) const;

}

 

This class implements a passive high-accuracy timer. Passive means that, unless you call any of the member methods, this timer will do nothing and require no CPU time.

 

Element Description

No public elements.

 

MKD Syntax

Unused.

 

CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH