summaryrefslogtreecommitdiff
path: root/VA/baselines/cpu
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-07-12 10:07:50 +0200
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-07-12 10:07:50 +0200
commit92b065344bfec4a529c821380ddbce65f92eee78 (patch)
treece30217d1c61bbe25706998f3e93bfb46273510f /VA/baselines/cpu
parent2e95b1deef5e71e4ee0c5a5b915bb662ae8776e3 (diff)
VA CPU version: log latency
Diffstat (limited to 'VA/baselines/cpu')
-rw-r--r--VA/baselines/cpu/app_baseline.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/VA/baselines/cpu/app_baseline.c b/VA/baselines/cpu/app_baseline.c
index 7f9d3f4..63878cc 100644
--- a/VA/baselines/cpu/app_baseline.c
+++ b/VA/baselines/cpu/app_baseline.c
@@ -220,12 +220,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), input_size,
#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
- input_size * 3 * sizeof(T) / timer.time[0]);
+ timer.time[0], input_size * 3 * sizeof(T) / timer.time[0]);
printf(" throughput_MOpps=%f",
input_size / timer.time[0]);
printall(&timer, 0);