So what would be the best way going about getting millisecond precision?
Type: Posts; User: _Nate_
So what would be the best way going about getting millisecond precision?
Why does dividing by CLOCKS_PER_TICK help?
Also, I too thought that the compiler might be optimizing the loop out -- but as I said, you jack the size of the loop high enough, and the program...
I appear to be having trouble with clock(). I need to get precise time measurements (milliseconds would be nice, but I understand that that is not universally possible) and I would like to remain...
Out of curiosity, how do you write a program that takes an action every second? Or every half second?
Do you just get access to the system time and run a while(1) loop and keep on checking?
...
I was hoping for something more elegant / optimized, perhaps something that did some aliasing too. Does anyone know of a library that already does this, or am I going to have to make some myself?
I am doing some work that requires image manipulation. Up to this point, I have simply been reading image data from raw image data in RGBA format, and storing image data as an array of integers, a...