I am trying to understand how to determine how long an operation has taken in C++
I have been experimenting with the QueryPerformanceCounter and must admit it has confused me.
I am getting values out but they seem to loop very fast- also i dont seem to be able to perform any mathmatics on the value as they are LARGE_INTEGERS (and dont seem to have a / or * operator) all attempts at converting these has failed.
If anyone can provide a basic (bare in mind my C++ is limited here) explaination of the QueryPerformanceCounter function and the LARGE_INTEGER data type, especially how this datatype can be used in other calculations it would be a great help.
It should be noted that the time needs to be in at least tens of milliseconds.
Thanks in advance for any help, any further info required feel free to ask :)