Ignore:
Timestamp:
01/23/07 00:20:59 (17 years ago)
Author:
bittner
Message:

power plant updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/main.cpp

    r2017 r2020  
    175175 
    176176        InitTiming(); 
    177  
     177#if 0 
    178178        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 
    180194        Environment::GetSingleton()->Parse(argc, argv, USE_EXE_PATH); 
    181195        MeshKdTree::ParseEnvironment(); 
Note: See TracChangeset for help on using the changeset viewer.