From ef51ba7e8b758221ea07ff36a6f05449270336c4 Mon Sep 17 00:00:00 2001 From: bdemsky Date: Wed, 17 Oct 2018 14:13:47 -0700 Subject: [PATCH] Add file to run parser --- src/Test/analyzemultituner.cc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/Test/analyzemultituner.cc diff --git a/src/Test/analyzemultituner.cc b/src/Test/analyzemultituner.cc new file mode 100644 index 0000000..85a510a --- /dev/null +++ b/src/Test/analyzemultituner.cc @@ -0,0 +1,17 @@ +#include "csolver.h" +#include "multituner.h" +#include "searchtuner.h" + +int main(int argc, char **argv) { + if (argc < 2) { + printf("You should specify number of runs\n"); + exit(-1); + } + uint numruns; + sscanf(argv[1], "%u", &numruns); + + MultiTuner *multituner = new MultiTuner(0, 0, 0); + multituner->readData(numruns); + delete multituner; + return 0; +} -- 2.34.1