I used this method as a platform independent tick counter. Unfortunately, it consumes ~10 % cpu time in one of my methods. Is there a faster way to solve the issue?inline uint32_t GetTickCount() {    using namespace std::chrono;    return duration_cast<milliseconds>(steady_clock::now().time_since_epoch()).count();}
Optimize platform independent GetTickCount()
c++;performance;datetime;linux;windows