So per the title, I'm developing a FIFO queue (well more also but I just found the problem), and I've realized that time(NULL) is actually not accurate enough for what I'm doing. I have many entries that were actually entered at different times but so close to each other that time(NULL) doesn't pick up on the difference. I'm working on some page replacement algorithms, what do you recommend I use instead?
EDIT:
Nevermind, just used a counter as an artificial timer and all is working.
The FILETIME struct uses 100-nanosecond intervals, but the accuracy of the time is nowhere near that. Prob. similar to the *nix case (approx. 10 milli-sec)
Well as of right now I'm only recording number of page faults, though I did not know about the chrono header. I may use this to record more information.