Merging with Tuner branch
[satune.git] / src / Tuner / comptuner.h
diff --git a/src/Tuner/comptuner.h b/src/Tuner/comptuner.h
new file mode 100644 (file)
index 0000000..dd28105
--- /dev/null
@@ -0,0 +1,24 @@
+#ifndef COMPTUNER_H
+#define COMPTUNER_H
+#include "classlist.h"
+#include "structs.h"
+#include "basictuner.h"
+
+
+class CompTuner : public BasicTuner {
+public:
+       CompTuner(uint budget, uint timeout);
+       virtual ~CompTuner();
+       void readData(uint numRuns);
+       void tune();
+       void findBestThreeTuners();
+protected:
+       
+};
+
+inline long long min(long long num1, long long num2, long long num3) {
+       return num1 < num2 && num1 < num3 ? num1 :
+                                num2 < num3 ? num2 : num3;
+}
+
+#endif