Changeset 2020 for GTP/trunk/Lib/Vis/Preprocessing/src/main.cpp
- Timestamp:
- 01/23/07 00:20:59 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/main.cpp
r2017 r2020 175 175 176 176 InitTiming(); 177 177 #if 0 178 178 Debug.open("debug.log"); 179 179 180 cout<<"Allocating 1.5GB..."<<endl; 181 182 183 for (int i=0; i < 1000; i++) { 184 void *p = malloc(1250000000); 185 if (p != NULL) { 186 cout<<"success"<<(i+1)*1000<<"MB"<<endl; 187 } 188 else { 189 cout<<"fail"<<endl; 190 exit(1); 191 } 192 } 193 #endif 180 194 Environment::GetSingleton()->Parse(argc, argv, USE_EXE_PATH); 181 195 MeshKdTree::ParseEnvironment();
Note: See TracChangeset
for help on using the changeset viewer.