From 0118d5173e849135527bba960139213f09d4b19c Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 7 Jun 2023 14:55:26 +0200 Subject: RED, SCAN-RSS, SEL, UNI: account for inter-dpu sync in pim kernel time --- SCAN-RSS/host/app.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'SCAN-RSS') diff --git a/SCAN-RSS/host/app.c b/SCAN-RSS/host/app.c index dcd989a..aba9a95 100644 --- a/SCAN-RSS/host/app.c +++ b/SCAN-RSS/host/app.c @@ -261,11 +261,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, UNROLL, input_size, input_size * sizeof(T) / timer.time[0], - input_size * sizeof(T) / (timer.time[2] + timer.time[4]), + input_size * sizeof(T) / (timer.time[2] + timer.time[3] + timer.time[4]), input_size * sizeof(T) / (timer.time[1] + timer.time[2] + timer.time[3] + timer.time[4] + timer.time[5])); printf(" throughput_cpu_MOpps=%f throughput_pim_MOpps=%f throughput_MOpps=%f\n", input_size / timer.time[0], - input_size / (timer.time[2] + timer.time[4]), + input_size / (timer.time[2] + timer.time[3] + timer.time[4]), input_size / (timer.time[1] + timer.time[2] + timer.time[3] + timer.time[4] + timer.time[5])); printall(&timer, 5); } else { -- cgit v1.2.3