Méthode | Description | |
---|---|---|
AcquireCycleCounter ( ) : |
Initializes the processor cycle counter and starts counting the processor cycles. Call ReleaseCycleCounter to get the number of processor cycles passed.The cycle counters are not guaranteed to be syncronized across different processors/cores in a multiprocessor/multicore system. It is recommended to bind the current thread to a particular logical processor before using this function. |
|
GetCpuArchitecture ( ) : CpuArchitecture |
Provides information about the architecture of the processor.
|
|
GetCpuMicroarchitecture ( ) : |
Provides information about the microarchitecture of the processor.
|
|
GetCpuVendor ( ) : Yeppp.CpuVendor |
Provides information about the vendor of the processor.
|
|
GetProcessABI ( ) : ABI |
Provides information about the ABI of the running process.
|
|
GetTimerAccuracy ( ) : ulong |
Detects the minimum time difference in nanoseconds which can be measured by the high-resolution system timer.
|
|
GetTimerFrequency ( ) : ulong |
Queries the frequency (number of ticks per second) of the high-resolution system timer. The difference in ticks between two time moments divided by timer frequency gives the number of seconds between two time moments. |
|
GetTimerTicks ( ) : ulong |
Queries the ticks count of the high-resolution system timer. The difference in ticks between two time moments divided by timer frequency gives the number of seconds between two time moments. |
|
GetVersion ( ) : Version |
Provides information about Yeppp! library version.
|
|
IsSupported ( |
Checks if the specified ISA extension is supported by the processor.
|
|
IsSupported ( |
Checks if the specified SIMD extension is supported by the processor.
|
|
IsSupported ( |
Checks if the specified non-ISA CPU or system extension is supported by the processor.
|
|
Release ( ) : void |
Deinitializes Yeppp! library and releases all associated resources. This function is inteded for .Net libraries which might be unloaded (e.g. plugins) and should be called immediately before the module is unloaded.Calling Yeppp! functions after after a call to this method is prohibited and might crash the application. |
|
ReleaseCycleCounter ( |
Stops counting the processor cycles, releases the system resources associated with the cycle counter, and returns the number of cycles elapsed.
|
Méthode | Description | |
---|---|---|
Bind ( NativeLibrary nativeLibrary ) : void | ||
GetException ( Status status ) : System.Exception | ||
GetString ( Enumeration enumeration, uint value, StringType stringType ) : string | ||
Init ( ) : void | ||
IsDefined ( Enumeration enumeration, uint value ) : bool | ||
Unbind ( ) : void | ||
yepLibrary_GetCpuArchitecture ( uint &architecture ) : Status | ||
yepLibrary_GetCpuCyclesAcquire ( ulong &state ) : Status | ||
yepLibrary_GetCpuCyclesRelease ( ulong &state, ulong &cycles ) : Status | ||
yepLibrary_GetCpuIsaFeatures ( ulong &isaFeatures ) : Status | ||
yepLibrary_GetCpuMicroarchitecture ( uint &vendor ) : Status | ||
yepLibrary_GetCpuSimdFeatures ( ulong &simdFeatures ) : Status | ||
yepLibrary_GetCpuSystemFeatures ( ulong &systemFeatures ) : Status | ||
yepLibrary_GetCpuVendor ( uint &vendor ) : Status | ||
yepLibrary_GetString ( Enumeration enumeration, uint value, StringType stringType, System buffer, System &length ) : Status | ||
yepLibrary_GetTimerAccuracy ( ulong &accuracy ) : Status | ||
yepLibrary_GetTimerFrequency ( ulong &frequency ) : Status | ||
yepLibrary_GetTimerTicks ( ulong &ticks ) : Status | ||
yepLibrary_GetVersion ( ) : System.IntPtr | ||
yepLibrary_Init ( ) : Status | ||
yepLibrary_Release ( ) : Status |
public static AcquireCycleCounter ( ) : |
||
Résultat |
public static GetCpuArchitecture ( ) : CpuArchitecture | ||
Résultat | CpuArchitecture |
public static GetCpuMicroarchitecture ( ) : |
||
Résultat |
public static GetCpuVendor ( ) : Yeppp.CpuVendor | ||
Résultat | Yeppp.CpuVendor |
public static GetTimerFrequency ( ) : ulong | ||
Résultat | ulong |
public static IsSupported ( |
||
isaFeature | An object specifying the ISA extension of interest. | |
Résultat | bool |
public static IsSupported ( |
||
simdFeature | An object specifying the SIMD extension of interest. | |
Résultat | bool |
public static IsSupported ( |
||
systemFeature | An object specifying the non-ISA CPU or system extension of interest. | |
Résultat | bool |
public static ReleaseCycleCounter ( |
||
cycleCounter | An object representing the state of the cycle counter returned by |
|
Résultat | ulong |