I tried the search without finding an answer to this question that meets my requirements or explains it clearly enough.
I am looking for a function or a way to implement a function that can get the number of ticks or milliseconds in the same way as the timeGetTime () function on Windows.
I'm looking for a solution that uses only standard C ++, no additional libraries or platform specifications (e.g. timeGetTime () on Windows or the Linux equivalent, multi-platform solution).
I try to keep my code platform independent at a lower level of the library, and I just want to know if someone can tell me / tell me the way to map something along with timeGetTime ().
thanks
Update: I'm not necessarily looking for high performance and accuracy, I only need millisecond accuracy to find out how much time has passed since the last check.
source share