summaryrefslogtreecommitdiff
path: root/UNI
diff options
context:
space:
mode:
Diffstat (limited to 'UNI')
-rw-r--r--UNI/host/app.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/UNI/host/app.c b/UNI/host/app.c
index e068d6b..9cb7fe6 100644
--- a/UNI/host/app.c
+++ b/UNI/host/app.c
@@ -251,11 +251,11 @@ int main(int argc, char **argv) {
"| throughput_cpu_MBps=%f throughput_pim_MBps=%f throughput_MBps=%f",
nr_of_dpus, NR_TASKLETS, XSTR(T), BLOCK_SIZE, input_size,
input_size * sizeof(T) / timer.time[0],
- input_size * sizeof(T) / timer.time[2],
+ input_size * sizeof(T) / (timer.time[2] + timer.time[3]),
input_size * sizeof(T) / (timer.time[1] + timer.time[2] + timer.time[3] + timer.time[4]));
printf(" throughput_cpu_MOpps=%f throughput_pim_MOpps=%f throughput_MOpps=%f",
input_size / timer.time[0],
- input_size / timer.time[2],
+ input_size / (timer.time[2] + timer.time[3]),
input_size / (timer.time[1] + timer.time[2] + timer.time[3] + timer.time[4]));
printall(&timer, 4);
}