C# Class NewTOAPIA.Net.Udt.CTimer

Afficher le fichier Open project: Wiladams/NewTOAPIA

Méthodes publiques

Свойство Type Description
gMhzFactor System.Int64

Méthodes publiques

Méthode Description
getCPUFrequency ( ) : double
getTime ( ) : System.Int64
interrupt ( ) : void

Stop the sleep() or sleepto() methods.

rdtsc ( System.Int64 &x ) : void
readCPUFrequency ( ) : double

Returns the frequency of the CPU in Mhz

sleep ( System.Int64 interval ) : void
sleepto ( System.Int64 nexttime ) : void
tick ( ) : void

trigger the clock for a tick, for better granuality in no_busy_waiting timer.

ticksToMicroseconds ( long ticks ) : long
triggerEvent ( ) : void
waitForEvent ( ) : void

Private Methods

Méthode Description
CTimer ( ) : System

Method Details

getCPUFrequency() public static méthode

public static getCPUFrequency ( ) : double
Résultat double

getTime() public static méthode

public static getTime ( ) : System.Int64
Résultat System.Int64

interrupt() public méthode

Stop the sleep() or sleepto() methods.
public interrupt ( ) : void
Résultat void

rdtsc() public static méthode

public static rdtsc ( System.Int64 &x ) : void
x System.Int64
Résultat void

readCPUFrequency() public static méthode

Returns the frequency of the CPU in Mhz
public static readCPUFrequency ( ) : double
Résultat double

sleep() public méthode

public sleep ( System.Int64 interval ) : void
interval System.Int64
Résultat void

sleepto() public méthode

public sleepto ( System.Int64 nexttime ) : void
nexttime System.Int64
Résultat void

tick() public méthode

trigger the clock for a tick, for better granuality in no_busy_waiting timer.
public tick ( ) : void
Résultat void

ticksToMicroseconds() public static méthode

public static ticksToMicroseconds ( long ticks ) : long
ticks long
Résultat long

triggerEvent() public méthode

public triggerEvent ( ) : void
Résultat void

waitForEvent() public méthode

public waitForEvent ( ) : void
Résultat void

Property Details

gMhzFactor public_oe static_oe property

public static Int64,System gMhzFactor
Résultat System.Int64