I've used #include<time.h>, but I've never seen #include<chrono> before and I played with time code last year.
- I've read through the forums
- I've done google searches
... and I'm still stumped. Why would I use chrono?
My code from last year to see how many processes per tick I was getting:
2+ years ago for this and I've never seen chrono, nor auto until today .... I think I woke up in a different parallel universe than the one I went to sleep in last night.
Facilities in <chrono> supersede some, but not all, of the functionality in <ctime>.
For instance, for the code in the first post (measure the processor time used), there is no equivalent functionality in <chrono>; the standard library facility for this continues to be std::clock().
The two are not mutually exclusive; <chrono> is not a drop in replacement for <ctime>