-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add accelerator related fields in existing structures
Signed-off-by: bharathappali <[email protected]>
- Loading branch information
1 parent
a1af211
commit e699630
Showing
3 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
src/main/java/com/autotune/common/data/metrics/AcceleratorMetricResult.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package com.autotune.common.data.metrics; | ||
|
||
import com.autotune.common.data.system.info.device.accelerator.AcceleratorDeviceData; | ||
|
||
public class AcceleratorMetricResult { | ||
private AcceleratorDeviceData acceleratorDeviceData; | ||
private MetricResults metricResults; | ||
|
||
public AcceleratorMetricResult(AcceleratorDeviceData acceleratorDeviceData, MetricResults metricResults) { | ||
this.acceleratorDeviceData = acceleratorDeviceData; | ||
this.metricResults = metricResults; | ||
} | ||
|
||
public AcceleratorDeviceData getAcceleratorDeviceData() { | ||
return acceleratorDeviceData; | ||
} | ||
|
||
public void setAcceleratorDeviceData(AcceleratorDeviceData acceleratorDeviceData) { | ||
this.acceleratorDeviceData = acceleratorDeviceData; | ||
} | ||
|
||
public MetricResults getMetricResults() { | ||
return metricResults; | ||
} | ||
|
||
public void setMetricResults(MetricResults metricResults) { | ||
this.metricResults = metricResults; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters