SystemTimestamp Class

Provides access to high-resolution system timestamps.

Definition

Namespace: Peak.Classes.Time
Assembly: PCANBasic.NET (in PCANBasic.NET.dll) Version: 4.10.0
C#
public class SystemTimestamp
Inheritance
Object    SystemTimestamp

Constructors

SystemTimestamp Create an instance of HighResolutionTimestamp to get timestamps in a preferred resolution.

Properties

Accuracy Retrieves the time in nanoseconds, in which one tick is generated within the underlying time system.
ElapsedMicroseconds Retrieves the amount of elapsed microseconds within the underlying timer.
ElapsedMilliseconds Retrieves the amount of elapsed milliseconds within the underlying timer.
ElapsedNanoseconds Retrieves the amount of elapsed nanoseconds within the underlying timer.
ElapsedSeconds Retrieves the amount of elapsed seconds within the underlying timer.
Now Retrieves the current number of ticks of the underlying time system, expressed in the time resolution defined by Resolution.
Resolution Time resolution in which the Timestamp is retrieved.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also