From 437de65cbe2c4ee1f476a33a7d26109f2d928a6f Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 7 Jun 2023 08:53:51 +0200 Subject: BFS: gomez/mutlu benchmarks include inter-dpu synchronization time --- BFS/host/app.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'BFS/host') diff --git a/BFS/host/app.c b/BFS/host/app.c index 44154e2..54b9cdc 100644 --- a/BFS/host/app.c +++ b/BFS/host/app.c @@ -300,10 +300,10 @@ int main(int argc, char** argv) { printf("[::] BFS NMC | n_dpus=%d n_tasklets=%d e_type=%s n_elements=%d " "| throughput_pim_MBps=%f throughput_MBps=%f", numDPUs, NR_TASKLETS, "uint32_t", numNodes, - numNodes * sizeof(uint32_t) / (timer.time[2]), + numNodes * sizeof(uint32_t) / (timer.time[2] + timer.time[3]), numNodes * sizeof(uint32_t) / (timer.time[0] + timer.time[1] + timer.time[2] + timer.time[3] + timer.time[4])); printf(" throughput_pim_MOpps=%f throughput_MOpps=%f", - numNodes / (timer.time[2]), + numNodes / (timer.time[2] + timer.time[3]), numNodes / (timer.time[0] + timer.time[1] + timer.time[2] + timer.time[3] + timer.time[4])); printAll(&timer, 4); } -- cgit v1.2.3