It’s been asked before here — but basically, there is a boost ptime function you can use, or a POSIX clock_gettime() function which can serve basically the same purpose.
More Related Contents:
- some problems about c++ try catch [closed]
- Timer function to provide time in nano seconds using C++
- C++ Dynamic Shared Library on Linux
- How to get memory usage at runtime using C++?
- How can I create directory tree in C++/Linux?
- How to create a high resolution timer in Linux to measure program performance?
- C++: what regex library should I use? [closed]
- How to create a single instance application in C or C++
- C++ standard library and Boehm garbage collector
- Get the compiler options from a compiled executable?
- Send and Receive a file in socket programming in Linux with C/C++ (GCC/G++)
- Is it safe to fork from within a thread?
- Compilation fails with “relocation R_X86_64_32 against `.rodata.str1.8′ can not be used when making a shared object”
- Allocating more memory than there exists using malloc
- Linking libstdc++ statically: any gotchas?
- OS specific instructions in CMAKE: How to?
- How to get a list of video capture devices (web cameras) on linux ( ubuntu )? (C/C++)
- Why does the library linker flag sometimes have to go at the end using GCC?
- How to profile memory usage?
- C++ new operator thread safety in linux and gcc 4
- Linking g++ 4.8 to libstdc++
- How to pretty-print STL containers in GDB?
- Is there any standard way of embedding resources into Linux executable image? [duplicate]
- Command working in terminal, but not via QProcess
- “relocation R_X86_64_32S against ” linking Error
- Ctrl + C interrupt event handling in Linux
- C++ Socket Server – Unable to saturate CPU
- How to implement readlink to find the path
- Why are designated initializers not implemented in g++
- Why does the free() function not return memory to the operating system?