summaryrefslogtreecommitdiff
path: root/BFS/support
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2023-05-25 11:42:29 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2023-05-25 11:42:29 +0200
commit7a32507dbe582a55e1be23d173c68bd41f5f6e58 (patch)
tree09ccef22fe5e271aff95bd5e7db7cd6bf6fe0c74 /BFS/support
parenta99cfb6dc769226a9bdfaee1956ff40c98528de8 (diff)
port BFS PIM to dfatool
Diffstat (limited to 'BFS/support')
-rw-r--r--BFS/support/params.h2
-rw-r--r--BFS/support/timer.h6
2 files changed, 4 insertions, 4 deletions
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 <sys/time.h>
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) {