summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-07-17 16:12:47 +0200
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-07-17 16:12:47 +0200
commitdb1cd145998ea88037f7dc427e06d3f82c0b4930 (patch)
treed2920bf068963cba5e91a3d18b099b7e98d8cffc
parentdf133b452eb30c3e546c215407d9fa345c98a1f8 (diff)
VA: do not count move_pages towards timer
-rw-r--r--VA/baselines/cpu/app_baseline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/VA/baselines/cpu/app_baseline.c b/VA/baselines/cpu/app_baseline.c
index f5981ac..0451079 100644
--- a/VA/baselines/cpu/app_baseline.c
+++ b/VA/baselines/cpu/app_baseline.c
@@ -253,6 +253,7 @@ int main(int argc, char **argv) {
A_local = A;
B_local = B;
}
+ stop(&timer, 2);
mp_pages[0] = A_local;
if (move_pages(0, 1, mp_pages, NULL, mp_status, 0) == -1) {
perror("move_pages(A_local)");
@@ -263,7 +264,6 @@ int main(int argc, char **argv) {
else {
numa_node_local = mp_status[0];
}
- stop(&timer, 2);
#endif
start(&timer, 0, 0);