summaryrefslogtreecommitdiff
path: root/BFS
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2023-06-07 08:53:51 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2023-06-07 08:53:51 +0200
commit437de65cbe2c4ee1f476a33a7d26109f2d928a6f (patch)
tree3c43737f33dfa5c266a6131909c82e83337cc613 /BFS
parent1637a3a163ba8eb68939020bb141389de943d62c (diff)
BFS: gomez/mutlu benchmarks include inter-dpu synchronization time
Diffstat (limited to 'BFS')
-rw-r--r--BFS/host/app.c4
1 files changed, 2 insertions, 2 deletions
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);
}