T
timhoagland
Hi,
I have a C++ data acquisition program, running under Linux. The basic
stucture is:
Setup devices
Acquire data for x seconds.
Cleanup.
The problem is that I don't have a way to determine how long the data
acquisition has been running. What I'd like is to print out (using
printf or cout) a small clock that gives the elapsed time since data
acquisition began.
I'd appreciate any help anyone may have.
I have a C++ data acquisition program, running under Linux. The basic
stucture is:
Setup devices
Acquire data for x seconds.
Cleanup.
The problem is that I don't have a way to determine how long the data
acquisition has been running. What I'd like is to print out (using
printf or cout) a small clock that gives the elapsed time since data
acquisition began.
I'd appreciate any help anyone may have.