/[PAMELA software]/DarthVader/src/DarthVader.cpp
ViewVC logotype

Diff of /DarthVader/src/DarthVader.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.29 by mocchiut, Thu May 3 20:09:30 2007 UTC revision 1.31 by mocchiut, Thu Aug 30 07:59:26 2007 UTC
# Line 840  int main(int numinp, char *inps[]){ Line 840  int main(int numinp, char *inps[]){
840      case -52:  message += " GLTABLES - No entries matching GL_PARAM query"; break;      case -52:  message += " GLTABLES - No entries matching GL_PARAM query"; break;
841      case -53:  message += " GLTABLES - No entries matching GL_TRK_CALIB query"; break;      case -53:  message += " GLTABLES - No entries matching GL_TRK_CALIB query"; break;
842      case -54:  message += " GLTABLES - No entries matching GL_CALO_CALIB query"; break;      case -54:  message += " GLTABLES - No entries matching GL_CALO_CALIB query"; break;
843      case -55:  message += " GLTABLES - No entries matching GL_CALO_CALIB query"; break;      case -55:  message += " GLTABLES - No entries matching GL_S4_CALIB query"; break;
844      case -56:  message += " GLTABLES - No entries matching GL_TLE query"; break;      case -56:  message += " GLTABLES - No entries matching GL_TLE query"; break;
845      case -57:  message += " GLTABLES - DB connection gone and not able to reconnect"; break;      case -57:  message += " GLTABLES - DB connection gone and not able to reconnect"; break;
846        //              //      
# Line 976  int main(int numinp, char *inps[]){ Line 976  int main(int numinp, char *inps[]){
976      Float_t s4rt = 0.;      Float_t s4rt = 0.;
977      Float_t ndrt = 0.;      Float_t ndrt = 0.;
978      Float_t orbrt = 0.;      Float_t orbrt = 0.;
979      Float_t dvrt = nevents/dvtime;      Float_t dvrt = (nevents+1)/dvtime;
980      if ( RUN ) runrt = nruns/runtime;      if ( RUN ) runrt = nruns/runtime;
981      if ( TRK ) trkrt = nevents/trktime;      if ( TRK ) trkrt = (nevents+1)/trktime;
982      if ( CAL ) calrt = nevents/caltime;      if ( CAL ) calrt = (nevents+1)/caltime;
983      if ( TOF ) tofrt = nevents/toftime;      if ( TOF ) tofrt = (nevents+1)/toftime;
984      if ( TRG ) trgrt = nevents/trgtime;      if ( TRG ) trgrt = (nevents+1)/trgtime;
985      if ( AC ) acrt = nevents/actime;      if ( AC ) acrt = (nevents+1)/actime;
986      if ( S4 ) s4rt = nevents/s4time;      if ( S4 ) s4rt = (nevents+1)/s4time;
987      if ( ND ) ndrt = nevents/ndtime;      if ( ND ) ndrt = (nevents+1)/ndtime;
988      if ( ORB ) orbrt = nevents/orbtime;      if ( ORB ) orbrt = (nevents+1)/orbtime;
989      //      //
990      printf("\n\n###########################################################################################\n");      printf("\n\n###########################################################################################\n");
991      printf("#              Benchmark results:      nevents = %10u     runs = %3u                #\n",nevents,nruns);      printf("#              Benchmark results:      nevents = %10u     runs = %3u                #\n",(nevents+1),nruns);
992      printf("###########################################################################################\n");      printf("###########################################################################################\n");
993      printf("# Detector # Core routine called # Queries  #     Real Time   #   CPU time   #  Events/s  #\n");      printf("# Detector # Core routine called # Queries  #     Real Time   #   CPU time   #  Events/s  #\n");
994      printf("###########################################################################################\n");      printf("###########################################################################################\n");

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.31

  ViewVC Help
Powered by ViewVC 1.1.23