projects
/
satune.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
66eb15e
)
make easier to read
author
bdemsky
<bdemsky@uci.edu>
Wed, 17 Oct 2018 22:35:25 +0000
(15:35 -0700)
committer
bdemsky
<bdemsky@uci.edu>
Wed, 17 Oct 2018 22:35:25 +0000
(15:35 -0700)
src/Tuner/multituner.cc
patch
|
blob
|
history
src/config.h
patch
|
blob
|
history
diff --git
a/src/Tuner/multituner.cc
b/src/Tuner/multituner.cc
index e0fee46074f5656e7df7fd9bba9cd4a7ba5e18a1..61b5bd38e62461f49e1ab4a9cf71abb3244b1e30 100644
(file)
--- a/
src/Tuner/multituner.cc
+++ b/
src/Tuner/multituner.cc
@@
-234,7
+234,7
@@
void MultiTuner::tuneComp() {
if (tuner->getTime(problem) == -1) {
tuner->problems.push(problem);
}
if (tuner->getTime(problem) == -1) {
tuner->problems.push(problem);
}
- DEBUG("%u.Problem<%s>\tTuner<%p
>\tMetric<%lld>\n", i, problem->problem,tun
er, metric);
+ DEBUG("%u.Problem<%s>\tTuner<%p
, %d>\tMetric<%lld>\n", i, problem->problem,tuner, tuner->tunernumb
er, metric);
DEBUG("*****************************\n");
if (metric != -1)
tuner->setTime(problem, metric);
DEBUG("*****************************\n");
if (metric != -1)
tuner->setTime(problem, metric);
@@
-256,7
+256,7
@@
void MultiTuner::tuneComp() {
if (scores.contains(tuner))
currScore = scores.get(tuner);
currScore += points;
if (scores.contains(tuner))
currScore = scores.get(tuner);
currScore += points;
- DEBUG("Problem<%s>\tTuner<%p
>\tmetric<%d>\n", problem->problem, tuner,
currScore);
+ DEBUG("Problem<%s>\tTuner<%p
,%d>\tmetric<%d>\n", problem->problem, tuner, tuner->tunernumber,
currScore);
DEBUG("**************************\n");
scores.put(tuner, currScore);
points = points / 3;
DEBUG("**************************\n");
scores.put(tuner, currScore);
points = points / 3;
@@
-277,7
+277,7
@@
void MultiTuner::tuneComp() {
if (score > tscore)
break;
}
if (score > tscore)
break;
}
- DEBUG("ranking[%u]=tuner<%p
>(Score=%d)\n", j, tun
er, score);
+ DEBUG("ranking[%u]=tuner<%p
,%u>(Score=%d)\n", j, tuner, tuner->tunernumb
er, score);
DEBUG("************************\n");
ranking.insertAt(j, tuner);
}
DEBUG("************************\n");
ranking.insertAt(j, tuner);
}
diff --git
a/src/config.h
b/src/config.h
index ce13d3c8ef6873db22e29ce7dc5d7e25ef0b1630..4d56dfbd3b95618fd04b8fe3fe60f8e39f5bc18b 100644
(file)
--- a/
src/config.h
+++ b/
src/config.h
@@
-16,7
+16,7
@@
/** Turn on debugging. */
#ifndef CONFIG_DEBUG
/** Turn on debugging. */
#ifndef CONFIG_DEBUG
-
//
#define CONFIG_DEBUG
+#define CONFIG_DEBUG
#endif
#ifndef CONFIG_ASSERT
#endif
#ifndef CONFIG_ASSERT