PDA

View Full Version : Fastest way to get date and time in string



RolandHughes
21st May 2013, 14:04
Has anybody done any tests to see which method of getting the current localized date and time into a string is the fastest when using Qt? I know the easiest methods, but has anyone done any clock cycle measurements? I have a logging application which could record 100,000 messages per second. Solution must be thread safe and display time to microsecond (.123456) level.

Thanks,
Roland

wysota
21st May 2013, 14:45
What are your options?