summaryrefslogtreecommitdiff
path: root/SEL/host
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2023-06-07 14:55:26 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2023-06-07 14:55:26 +0200
commit0118d5173e849135527bba960139213f09d4b19c (patch)
tree5753324ddae7d1abf4bc6c58228f32afd2e99e6a /SEL/host
parent437de65cbe2c4ee1f476a33a7d26109f2d928a6f (diff)
RED, SCAN-RSS, SEL, UNI: account for inter-dpu sync in pim kernel time
Diffstat (limited to 'SEL/host')
-rw-r--r--SEL/host/app.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/SEL/host/app.c b/SEL/host/app.c
index 9faeddb..90f8bd4 100644
--- a/SEL/host/app.c
+++ b/SEL/host/app.c
@@ -230,11 +230,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);
}