How to use POSIX timer within C++ Classes

The POSIX Standard provides C with efficient and accurate timer functions. Sometimes is faster to apply these timers instead to implement a „real“ hardened real time application. If you would like to use the C-style timer functions in a C++ application read on.

Idea: A dedicated class should be responsible for timing different tasks within a C++ application. This post should shortly explain how to implement a POSIX timer invoking a class member function.

Den ganzen Beitrag lesen »

Geschrieben in -,C++,Linux | Kommentare aus