I was trying to find a way to measure code execution time without using the below listed constraints.
In my requirement it's for an embedded system which has very strict conformances.
All I could found was using C headers, unapproved headers by Google C++ coding standards or boost which are excluded from the project conformances.
I looked through the suggested posts which looked similar but couldn't find an answer for what is looked for. Please help!
Constraints are not to use the following,
- Boost libraries
C system headers like
sys/time.h
Unapproved headers like
chrono
by Google C++ style guide https://google.github.io/styleguide/cppguide.htmlTarget platform is Linux
This style checker has list down chrono as unapproved.. https://github.com/google/styleguide/blob/gh-pages/cpplint/cpplint.py