Fix default scenario values, added steps output

This commit is contained in:
Stefan Bühler 2009-06-29 19:57:45 +02:00
parent 829b632c53
commit 821c94289b
3 changed files with 3 additions and 3 deletions

View File

@ -13,6 +13,6 @@ static void run_debug(task_t *task, gpointer userdata) {
}
int main(int argc, char **argv) {
task_main(argc, argv, run, run_debug, NULL, 2001);
task_main(argc, argv, run, run_debug, NULL, 3001);
return 0;
}

View File

@ -13,6 +13,6 @@ static void run_debug(task_t *task, gpointer userdata) {
}
int main(int argc, char **argv) {
task_main(argc, argv, run, run_debug, NULL, 2001);
task_main(argc, argv, run, run_debug, NULL, 4001);
return 0;
}

View File

@ -88,7 +88,7 @@ static inline void task_main(int argc, char **argv, task_app_t app, task_app_t d
task = task_new(scenario);
score = task_run(task, app, userdata, tracefile);
fprintf(stderr, "Finale score: %f\n", score);
fprintf(stderr, "Finale score: %f (steps: %u)\n", score, (guint) task->timestamp);
task_free(task);
}