1 | package test.appProfConverter.dcworms; |
---|
2 | public class SoftwarePhase { |
---|
3 | public String RefNode; |
---|
4 | public Integer RefCores; |
---|
5 | public Double RefFreq; |
---|
6 | public Double RefUpload; // Network max upload speed |
---|
7 | public Double RefDownload; // Network max download speed |
---|
8 | public Double RefDiskBW; // Disk Bandwidth |
---|
9 | public Double PM_Power; |
---|
10 | public Double PM_Disk_IO; |
---|
11 | public Double PM_Memory_RSS; |
---|
12 | public Double PM_Download; |
---|
13 | public Double PM_CPU_Usage; |
---|
14 | public Integer PM_Threads; |
---|
15 | public Double PM_Memory_Usage; |
---|
16 | public Double PM_Upload; |
---|
17 | public Integer Duration; |
---|
18 | |
---|
19 | public SoftwarePhase(SoftwarePhase other) { |
---|
20 | this.RefNode = other.RefNode; |
---|
21 | this.RefCores = other.RefCores; |
---|
22 | this.RefFreq = other.RefFreq; |
---|
23 | this.RefUpload = other.RefUpload; |
---|
24 | this.RefDownload = other.RefDownload; |
---|
25 | this.RefDiskBW = other.RefDiskBW; |
---|
26 | this.PM_Power = other.PM_Power; |
---|
27 | this.PM_CPU_Usage = other.PM_CPU_Usage; |
---|
28 | this.PM_Memory_RSS = other.PM_Memory_RSS; |
---|
29 | this.PM_Memory_Usage = other.PM_Memory_Usage; |
---|
30 | this.PM_Disk_IO = other.PM_Disk_IO; |
---|
31 | this.PM_Download = other.PM_Download; |
---|
32 | this.PM_Threads = other.PM_Threads; |
---|
33 | this.PM_Upload = other.PM_Upload; |
---|
34 | this.Duration = other.Duration; |
---|
35 | } |
---|
36 | |
---|
37 | public SoftwarePhase() { |
---|
38 | this.RefNode = ""; |
---|
39 | this.RefCores = 1; |
---|
40 | this.RefFreq = 0.0; |
---|
41 | this.RefUpload = 0.0; |
---|
42 | this.RefDownload = 0.0; |
---|
43 | this.RefDiskBW = 0.0; |
---|
44 | this.PM_Power = 0.0; |
---|
45 | this.PM_CPU_Usage = 0.0; |
---|
46 | this.PM_Memory_RSS = 0.0; |
---|
47 | this.PM_Memory_Usage = 0.0; |
---|
48 | this.PM_Disk_IO = 0.0; |
---|
49 | this.PM_Download = 0.0; |
---|
50 | this.PM_Upload = 0.0; |
---|
51 | this.PM_Threads = 1; |
---|
52 | this.Duration = 0; |
---|
53 | } |
---|
54 | |
---|
55 | } |
---|