summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--RED/host/app.c4
-rw-r--r--SCAN-RSS/host/app.c4
-rw-r--r--SEL/host/app.c4
-rw-r--r--UNI/host/app.c4
4 files changed, 8 insertions, 8 deletions
diff --git a/RED/host/app.c b/RED/host/app.c
index eefb696..3c72a0f 100644
--- a/RED/host/app.c
+++ b/RED/host/app.c
@@ -237,11 +237,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]));
printf(" throughput_cpu_MOpps=%f throughput_pim_MOpps=%f throughput_MOpps=%f\n",
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]));
printall(&timer, 3);
}
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 {
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);
}
diff --git a/UNI/host/app.c b/UNI/host/app.c
index e068d6b..9cb7fe6 100644
--- a/UNI/host/app.c
+++ b/UNI/host/app.c
@@ -251,11 +251,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);
}