# HG changeset patch # User tkaito # Date 1295344403 -32400 # Node ID d2d44bc55fa1bb3c00778020ea1ebbab7ffbb7c3 # Parent fa1f4a1c47bfd9b075e0118112d52a91b4f7ad64 changeset 1105 fix.changeset 1105 fix.changeset 1105 fix.changeset 1105 fix.changeset 1105 fix.changeset 1105 fix.changeset 1105 fix.changeset 1105 fix.changeset 1105 fix.changeset 1105 fix.changeset 1105 fix. diff -r fa1f4a1c47bf -r d2d44bc55fa1 Renderer/Engine/Makefile.def --- a/Renderer/Engine/Makefile.def Mon Jan 17 06:15:46 2011 +0900 +++ b/Renderer/Engine/Makefile.def Tue Jan 18 18:53:23 2011 +0900 @@ -5,7 +5,7 @@ ABIBIT = 64 ABI = -m$(ABIBIT) CC = g++ -OPT = -g #-DSPE_CREATE_POLYGON_CHECK -DSPE_CREATE_POLYGON=1 +OPT = -O9 #-DSPE_CREATE_POLYGON_CHECK -DSPE_CREATE_POLYGON=1 CFLAGS = -Wall $(ABI) $(OPT) # -DDEBUG INCLUDE = -I$(CERIUM)/include/TaskManager -I. diff -r fa1f4a1c47bf -r d2d44bc55fa1 TaskManager/kernel/main.cc --- a/TaskManager/kernel/main.cc Mon Jan 17 06:15:46 2011 +0900 +++ b/TaskManager/kernel/main.cc Tue Jan 18 18:53:23 2011 +0900 @@ -36,8 +36,6 @@ int machineNum = 1; int speIdle = 0; - TaskManager *manager = new TaskManager(machineNum); - for (int i = 1; argv[i]; ++i) { if (strcmp(argv[i], "-cpu") == 0) { machineNum = atoi(argv[++i]); @@ -49,8 +47,11 @@ } + TaskManager *manager = new TaskManager(machineNum); manager->init(speIdle); + manager->set_TMend(defaultTMend); + for (int i = 1; argv[i]; ++i) { if (strcmp(argv[i], "-help") == 0) { if (usr_help_str) { @@ -61,8 +62,6 @@ } } - manager->set_TMend(defaultTMend); - if (profile) manager->start_profile(); if (TMmain(manager, argc, argv) < 0) {