fbTimer - Easy to use high performance Timer and Scheduler

User projects written in or related to FreeBASIC.
Post Reply
Jattenalle
Posts: 50
Joined: Nov 17, 2023 14:41
Contact:

fbTimer - Easy to use high performance Timer and Scheduler

Post by Jattenalle »

fbTimer 0.1 now available at http://www.jattegames.com/
fbTimer is a high performance Timer and Scheduler with up to microsecond (µs) accuracy* and fully threaded scheduling and event callback

Code: Select all

dim as t_Timer foo
print foo.us
foo.Sleep(0.05) '// Sleep for 0.05ms, or 50µs
print foo.us '// Should be close to 50µs later
Additional examples can be found in the examples file.
Details:
  • Language: FreeBASIC
  • Library type: .bi header
  • Dependencies: fbList (Optional)
  • Attribution: fbTimer is Copyright (c) 2023-2024 Johannes "Jattenalle" Pihl, all rights reserved
  • Sourcecode: Yes, zLib license
*Actual accuracy depends on OS and hardware
Post Reply