1.1 --- a/tools/profiler/csharp/ProfReport.cs Sun Mar 02 07:15:28 2008 +0000
1.2 +++ b/tools/profiler/csharp/ProfReport.cs Sun Mar 02 07:28:24 2008 +0000
1.3 @@ -77,10 +77,12 @@
1.4 {
1.5 if (xml.Name.CompareTo("profile") == 0)
1.6 {
1.7 + int t;
1.8 in_profile = true;
1.9 m_duration = Double.Parse(xml.GetAttribute("uptime"));
1.10 m_start_time = new DateTime(1970, 1, 1, 0, 0, 0);
1.11 - m_start_time.AddSeconds(Int32.Parse(xml.GetAttribute("time")));
1.12 + t = Int32.Parse(xml.GetAttribute("time"));
1.13 + m_start_time = m_start_time.AddSeconds(t);
1.14 }
1.15 else if (in_profile)
1.16 {