Commit 31bc17ae authored by Valentina Fioretti's avatar Valentina Fioretti
Browse files

printing time

parent ddd54356
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -60,8 +60,8 @@ int main( int argc, char** argv ) {

    G4MPImanager* g4MPI = new G4MPImanager(argc, argv);
    G4MPIsession* session = g4MPI->GetMPIsession();
    //G4double t1, t2; 
    //t1 = MPI_Wtime(); 
    G4double t1, t2; 
    t1 = MPI_Wtime(); 


    if(argc > 1) {
@@ -204,8 +204,8 @@ int main( int argc, char** argv ) {

    cout << "End of processing" << endl;

    //t2 = MPI_Wtime(); 
    //printf( "Elapsed time is %f\n", t2 - t1 ); 
    t2 = MPI_Wtime(); 
    printf( "Elapsed time is %f\n", t2 - t1 ); 
    delete g4MPI;

    // job termination