-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathSource.cs
47 lines (42 loc) · 1.55 KB
/
Source.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
using System;
using System.Collections.Generic;
using System.Text;
namespace ABLProfilerConverter
{
class Source
{
public Source(int Id, string Name, int CRC, string ListName)
{
this.Id = Id;
this.Name = Name;
this.ExecutableLines = new Dictionary<int, ExectableLine>();
this.TotalActualTime = new TimeSpan();
this.AverageActualTime = new TimeSpan();
this.OverheadTime = new TimeSpan();
this.TotalCumulativeTime = new TimeSpan();
this.CRC = CRC;
this.ListName = ListName;
this.FileName = ListName;
//if (string.IsNullOrEmpty(this.ListName))
//{
// Console.WriteLine("empty");
//}
}
public int Id { get; set; }
public string Name { get; set; }
public int CallCount { get; set; }
public string ListName { get; set; }
public int CRC { get; set; }
public int ParentId { get; set; }
public int FirstLineNumber { get; set; }
public string FileName { get; set; }
public TimeSpan TotalActualTime { get; set; }
public TimeSpan AverageActualTime { get; set; }
public TimeSpan OverheadTime { get; set; }
public TimeSpan TotalCumulativeTime { get; set; }
public TimeSpan TotalTime { get; set; }
public double SessionPercent { get; set; }
public double PerCallPercent { get; set; }
public Dictionary<int, ExectableLine> ExecutableLines { get; set; }
}
}