Top "Timer" questions

Timer is a component that has the functionality to trigger a user defined action at regular intervals as configured by the user.

How to create a high resolution timer in Linux to measure program performance?

I'm trying to compare GPU to CPU performance. For the NVIDIA GPU I've been using the cudaEvent_t types to …

c linux timer precision high-resolution
High resolution timer with C++ and Linux?

Under Windows there are some handy functions like QueryPerformanceCounter from mmsystem.h to create a high resolution timer. Is there …

c++ linux timer
UNIX Programming. struct timeval how to print it (C-programming)

I am trying to print a value of type timeval. Actually I am able to print it, but I get …

timer unix getrusage rusage
Reliably stop System.Threading.Timer?

Well I've searched a lot for a solution to this. I'm looking for a clean and simple way to prevent …

c# multithreading timer
Bash sleep in milliseconds

I need a timer which will work with milliseconds. I tried to use sleep 0.1 command in a script, but I …

bash timer sleep
Android - Controlling a task with Timer and TimerTask?

I am currently trying to set up a WiFi Scan in my Android application that scans for WiFi access points …

android timer scheduled-tasks
How to time a function in milliseconds without boost::timer

I am using boost 1.46 which does not include boost::timer, What other way can I time my functions. I am …

c++ boost timer std timing
Cancellable threading.Timer in Python

I am trying to write a method that counts down to a given time and unless a restart command is …

python python-2.7 timer python-multithreading
How to fire timer.Elapsed event immediately

I'm using the System.Timers.Timer class to create a timer with an Timer.Elapsed event. The thing is the …

c# events timer
C++ Cross-Platform High-Resolution Timer

I'm looking to implement a simple timer mechanism in C++. The code should work in Windows and Linux. The resolution …

c++ cross-platform timer