summaryrefslogtreecommitdiff
path: root/VA
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2023-05-31 16:10:33 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2023-05-31 16:10:33 +0200
commitbcdc04a1e66804be8789ad3b7cd7cf9c4353a05e (patch)
tree84960864d4ead017b6049460778ec12cc1d1097a /VA
parent73366deefcce4a8a22555390bb07630437198041 (diff)
VA: Correctly calculate PIM kernel throughput
Diffstat (limited to 'VA')
-rw-r--r--VA/host/app.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/VA/host/app.c b/VA/host/app.c
index 7758d65..3a9b3eb 100644
--- a/VA/host/app.c
+++ b/VA/host/app.c
@@ -191,11 +191,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 * 3 * sizeof(T) / timer.time[0],
- input_size * 3 * sizeof(T) / (timer.time[1]),
+ input_size * 3 * sizeof(T) / (timer.time[2]),
input_size * 3 * sizeof(T) / (timer.time[1] + timer.time[2] + timer.time[3]));
printf(" throughput_cpu_MOpps=%f throughput_pim_MOpps=%f throughput_MOpps=%f\n",
input_size / timer.time[0],
- input_size / (timer.time[1]),
+ input_size / (timer.time[2]),
input_size / (timer.time[1] + timer.time[2] + timer.time[3]));
printall(&timer, 3);
}