C++ timer code wanted.

  • Thread starter Thread starter MyCatAlex
  • Start date Start date
M

MyCatAlex

Guest
I need a simple timer, sort of a stopwatch. I need to start it at one point of a running C++ application and stop it after some code execution. Both moments need to be signalled, like sending a short string to Console: "Execution began at ****",, execution finished with time = *****", etc. I tried to do it through namespace "chrono" but could not make it working. Will appreciate any help.

Thank you, - MyCatAlex

Continue reading...
 

Similar threads

Back
Top