Example #1
0
 public ReportItem getReport(Run r)
 {
     return (from ReportItem rep in Reports
             where rep.Name == r.Name
             select rep).FirstOrDefault();
 }
Example #2
0
 public ReportItem(Run r)
 {
     Name = r.Name;
     totalCalls++;
     aggregateTime += r.totalMs;
     lowTime = r.totalMs;
     highTime = r.totalMs;
 }
Example #3
0
        public void UpdateReportItem(Run r)
        {
            totalCalls++;
            aggregateTime += r.totalMs;

            if (r.totalMs < lowTime)
                lowTime = r.totalMs;

            if (r.totalMs > highTime)
                highTime = r.totalMs;
        }
Example #4
0
 public ReportItem getReport(Run r)
 {
     return((from ReportItem rep in Reports
             where rep.Name == r.Name
             select rep).FirstOrDefault());
 }