C# 클래스 NewTOAPIA.CClock

파일 보기 프로젝트 열기: Wiladams/NewTOAPIA

공개 프로퍼티들

프로퍼티 타입 설명
CPUFrequency double
gMhzFactor System.Int64

공개 메소드들

메소드 설명
GetTimeInMicroseconds ( ) : long
Sleep ( System.Int64 interval ) : void

Sleep for a number of microseconds

SleepTo ( System.Int64 nexttime ) : void
Tick ( ) : void

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

interrupt ( ) : void

Stop the sleep() or sleepto() methods.

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

Returns the frequency of the CPU in Mhz

triggerEvent ( ) : void
waitForEvent ( ) : void

비공개 메소드들

메소드 설명
CClock ( ) : System

메소드 상세

GetTimeInMicroseconds() 공개 정적인 메소드

public static GetTimeInMicroseconds ( ) : long
리턴 long

Sleep() 공개 메소드

Sleep for a number of microseconds
public Sleep ( System.Int64 interval ) : void
interval System.Int64 Number of microseconds to sleep
리턴 void

SleepTo() 공개 메소드

public SleepTo ( System.Int64 nexttime ) : void
nexttime System.Int64
리턴 void

Tick() 공개 메소드

trigger the clock for a tick, for better granuality in no_busy_waiting timer.
public Tick ( ) : void
리턴 void

interrupt() 공개 메소드

Stop the sleep() or sleepto() methods.
public interrupt ( ) : void
리턴 void

rdtsc() 공개 정적인 메소드

public static rdtsc ( System.Int64 &x ) : void
x System.Int64
리턴 void

readCPUFrequency() 공개 정적인 메소드

Returns the frequency of the CPU in Mhz
public static readCPUFrequency ( ) : double
리턴 double

triggerEvent() 공개 메소드

public triggerEvent ( ) : void
리턴 void

waitForEvent() 공개 메소드

public waitForEvent ( ) : void
리턴 void

프로퍼티 상세

CPUFrequency 공개적으로 정적으로 프로퍼티

public static double CPUFrequency
리턴 double

gMhzFactor 공개적으로 정적으로 프로퍼티

public static Int64,System gMhzFactor
리턴 System.Int64