save state
This commit is contained in:
parent
8ef4651db8
commit
cd96365cd1
@ -32,10 +32,10 @@ int main( int argc, char **argv )
|
||||
int nprocs = comm.getSize();
|
||||
std::string SimulationMode = "production";
|
||||
// Load the input database
|
||||
auto db = std::make_shared<Database>( argv[1] );
|
||||
if (argc > 2) {
|
||||
SimulationMode = "legacy";
|
||||
}
|
||||
//auto db = std::make_shared<Database>( argv[1] );
|
||||
//if (argc > 2) {
|
||||
// SimulationMode = "legacy";
|
||||
//}
|
||||
|
||||
if ( rank == 0 ) {
|
||||
printf( "********************************************************\n" );
|
||||
@ -179,11 +179,11 @@ int main( int argc, char **argv )
|
||||
}
|
||||
|
||||
|
||||
PROFILE_STOP( "Main" );
|
||||
auto file = db->getWithDefault<std::string>( "TimerFile", "lbpm_color_simulator" );
|
||||
auto level = db->getWithDefault<int>( "TimerLevel", 1 );
|
||||
NULL_USE(level);
|
||||
PROFILE_SAVE( file, level );
|
||||
//PROFILE_STOP( "Main" );
|
||||
//auto file = db->getWithDefault<std::string>( "TimerFile", "lbpm_color_simulator" );
|
||||
//auto level = db->getWithDefault<int>( "TimerLevel", 1 );
|
||||
//NULL_USE(level);
|
||||
//PROFILE_SAVE( file, level );
|
||||
// ****************************************************
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user