From 7a32507dbe582a55e1be23d173c68bd41f5f6e58 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 25 May 2023 11:42:29 +0200 Subject: port BFS PIM to dfatool --- BFS/support/params.h | 2 +- BFS/support/timer.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'BFS/support') diff --git a/BFS/support/params.h b/BFS/support/params.h index 9bf9158..f4f12e7 100644 --- a/BFS/support/params.h +++ b/BFS/support/params.h @@ -25,7 +25,7 @@ typedef struct Params { static struct Params input_params(int argc, char **argv) { struct Params p; p.fileName = "data/roadNet-CA.txt"; - p.verbosity = 1; + p.verbosity = 0; int opt; while((opt = getopt(argc, argv, "f:v:h")) >= 0) { switch(opt) { diff --git a/BFS/support/timer.h b/BFS/support/timer.h index 23116e3..80719cf 100644 --- a/BFS/support/timer.h +++ b/BFS/support/timer.h @@ -6,9 +6,9 @@ #include typedef struct Timer { - struct timeval startTime[4]; - struct timeval stopTime[4]; - double time[4]; + struct timeval startTime[5]; + struct timeval stopTime[5]; + double time[5]; } Timer; static void startTimer(Timer *timer, int i, int rep) { -- cgit v1.2.3