summaryrefslogtreecommitdiff
path: root/bin/workload.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/workload.py')
-rwxr-xr-xbin/workload.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/workload.py b/bin/workload.py
index ef89b0d..e294b95 100755
--- a/bin/workload.py
+++ b/bin/workload.py
@@ -29,5 +29,9 @@ print(trace)
result = pta.simulate(trace)
print('Duration: ' + human_readable(result.duration, 's'))
+if result.duration_mae:
+ print(u' ± {} / {:.0f}%'.format(human_readable(result.duration_mae, 's'), result.duration_mape))
print('Energy: ' + human_readable(result.energy, 'J'))
+if result.energy_mae:
+ print(u' ± {} / {:.0f}%'.format(human_readable(result.energy_mae, 'J'), result.energy_mape))
print('Mean Power: ' + human_readable(result.mean_power, 'W'))