Click or drag to resize

HighResolutionTimer Class

Windows timers are based on the system timer. The system timer runs at a frequency of about 50-60 hz depending on your machine. This presents a problem for applications that require finer granularity. The HighRes timer allows us to get better granularity, but currently it only works on Windows. Thanks to Luc Pattyn for clarifying some of the issues with high resolution timers with the post on CodeProject.
Inheritance Hierarchy
SystemObject
  com.espertech.esper.compat.timersHighResolutionTimer

Namespace:  com.espertech.esper.compat.timers
Assembly:  NEsper.Compat (in NEsper.Compat.dll) Version: 8.0.0.0
Syntax
C#
public class HighResolutionTimer : ITimer, 
	IDisposable

The HighResolutionTimer type exposes the following members.

Constructors
  NameDescription
Public methodHighResolutionTimer
Initializes a new instance of the HighResolutionTimer class.
Top
Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodFinalize
Destructor
(Overrides ObjectFinalize.)
Top
See Also