Skip to content

C# Microtimer for high speed events using Stopwatch and BackgroundWorker

License

Notifications You must be signed in to change notification settings

GR8DAN/C-Sharp-Microtimer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C-Sharp-Microtimer

Code for a C# Microtimer for high speed events using the .NET Stopwatch and BackgroundWorker.

See the online article High Speed Regular Events in C Sharp.

This C# solution is a demo of executing code at regular intervals at high speed. Faster than using a WinForms Timer class. The demo is a dice simulator. On a Windows PC with a i7-4770 3.4 Ghz processor the dice simulator was performing 98,000 dice rolls per second, thus close to a 10 microsecond regular event.

About

C# Microtimer for high speed events using Stopwatch and BackgroundWorker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages