Jump to content

Subsecond Time Function


Recommended Posts

Posted

Hi all,

I'm trying to model/trace clients workload on my emulator and I'm using WorldLog for this. The thing is that in order to do obtain response time (and many other metrics, I'm solving a analytical model using Little's Law and bottleneck analysis, maybe MVA) i would like to put a time stamp on every entry of the WorldLog... well... that's done, but time.h lib and its function time() gives a time granularity of seconds and i want milliseconds to make my results more accurate and valid. So, any ideas about how to get time in milliseconds? :)

Posted

lol ^^ tnx!! =]

I also started to look elsewhere and found one for windows only... it uses windows.h

SYSTEMTIME now;

GetSystemTime(&now);

That's what i like about MaNGOS makes me look through the nastiest stuff lol :P

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use