Parsing summary.txt

Questions about YourKit .NET Profiler
Post Reply
sandeep
Posts: 24
Joined: Wed May 16, 2012 3:08 pm

Parsing summary.txt

Post by sandeep »

Anton,

I need to parse summary.txt file exported to get the uptime, but since it is stored as a string, I'm find it difficult to test all different possible patterns. For instance, "2d 4h 4s" is displayed if the uptime is 2 days, 4 hours and 4 seconds. Does it display y for year? or is there any other character to represent month
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Parsing summary.txt

Post by Anton Katilin »

Hi Sandeep

It can be days (d), hours (h), minutes (m) and seconds (s).

There are no months, no years. Days are the biggest scale.

Best regards,
Anton
Post Reply