/[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.30 by mocchiut, Wed May 30 11:45:12 2007 UTC revision 1.31 by mocchiut, Thu Aug 30 07:59:26 2007 UTC
# 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.30  
changed lines
  Added in v.1.31

  ViewVC Help
Powered by ViewVC 1.1.23