summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-07-12 10:14:40 +0200
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-07-12 10:14:47 +0200
commit4f9ab55e5278ee3b248b20f3541d289ebfb4d585 (patch)
tree0464a2647963c86d332dc2cf69f9ff9e69267271
parent92b065344bfec4a529c821380ddbce65f92eee78 (diff)
GEMV CPU version: log latency
-rw-r--r--GEMV/baselines/cpu/gemv_openmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/GEMV/baselines/cpu/gemv_openmp.c b/GEMV/baselines/cpu/gemv_openmp.c
index ed7b794..ac96be6 100644
--- a/GEMV/baselines/cpu/gemv_openmp.c
+++ b/GEMV/baselines/cpu/gemv_openmp.c
@@ -138,12 +138,12 @@ int main(int argc, char *argv[])
#if NUMA
" numa_node_in=%d numa_node_out=%d numa_node_cpu=%d numa_distance_in_cpu=%d numa_distance_cpu_out=%d"
#endif
- " | throughput_MBps=%f",
+ " | latency_us=%f throughput_MBps=%f",
nr_threads, XSTR(T), rows * cols,
#if NUMA
numa_node_in, numa_node_out, numa_node_cpu, numa_distance(numa_node_in, numa_node_cpu), numa_distance(numa_node_cpu, numa_node_out),
#endif
- rows * cols * sizeof(T) / timer.time[0]);
+ timer.time[0], rows * cols * sizeof(T) / timer.time[0]);
printf(" throughput_MOpps=%f",
rows * cols / timer.time[0]);
printall(&timer, 0);