Unit 'SysLapTimer' Package
[Overview][Types][Classes][Procedures and functions][Index] [#bs_enginesplus]

TSysLapTimer

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: syslaptimer.pas line 55

type TSysLapTimer = class(TComponent)

protected

  FNanoSecPerTick: Double;

  

  FMicroSecPerTick: Double;

  

  FMilliSecPerTick: Double;

  

  FSecPerTick: Double;

  

  FInvPerformanceCounterFrequencyReady: Boolean;

  

  FFPS: Single;

  

  FPrecision: Byte;

  

  FUseRTC: Boolean;

  

  FStarted: Boolean;

  

  FCPUClock: Double;

  

public

  constructor Create(); override;

  

  procedure Start();

  

  procedure Stop;

  

  function getTimerLap;

  

  function TickToTimeUnit();

  

  function GetValueAsTime;

  

  function getValueAsMicroSeconds;

  

  function getValueAsNanoSeconds;

  

  function getValueAsMilliSeconds;

  

  function getValueAsSeconds;

  

  function getValue;

  

  function getAsSecond;

  

  function getAsMilliSeconds;

  

  function getTicks;

  

  function getFPS();

  

  function getFPSAsString();

  

  function TickToMicroSecond();

  

  property UseRTC: Boolean; [rw]

  

  property PerformanceCountStart: Int64; [r]

  

  property PerformanceCountStop: Int64; [r]

  

  property Frequency: Int64; [r]

  

  property Precision: Byte; [rw]

  

end;

Inheritance

TSysLapTimer

  

|

TObject



CT Web help

CodeTyphon Studio