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

Diff of /YodaProfiler/src/YodaProfiler.cpp

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

revision 1.16 by mocchiut, Thu Jan 25 12:36:55 2007 UTC revision 1.17 by mocchiut, Wed Jan 31 16:15:04 2007 UTC
# Line 5  Line 5 
5  //  //
6  #include <TSystem.h>  #include <TSystem.h>
7  //  //
8    #include <GLTables.h>
9  #include <PamelaDBOperations.h>  #include <PamelaDBOperations.h>
10  #include <YodaProfilerVerl2.h>  #include <YodaProfilerVerl2.h>
11  //  //
# Line 279  int main(int numinp, char *inps[]){ Line 280  int main(int numinp, char *inps[]){
280    //    //
281    // Start:    // Start:
282    //    //
283      GL_TABLES *glt = new GL_TABLES(host,user,password);
284      //
285    TString message;    TString message;
286    char *version = YodaProfilerInfo(false);    char *version = YodaProfilerInfo(false);
287    PamelaDBOperations *pamDB = 0;    PamelaDBOperations *pamDB = 0;
# Line 616  int main(int numinp, char *inps[]){ Line 619  int main(int numinp, char *inps[]){
619    if ( beverbose ) printf(" 13 => Free objects and close SQL connection \n");    if ( beverbose ) printf(" 13 => Free objects and close SQL connection \n");
620    pamDB->Close();    pamDB->Close();
621    //    //
622      if ( debug ) printf(" Total number of queries through GLTABLES: %u \n",glt->GetNqueries());
623      delete glt;
624      //
625    printf("\n");    printf("\n");
626    printf(" Finished, exiting...\n");    printf(" Finished, exiting...\n");
627    printf("\n");    printf("\n");

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

  ViewVC Help
Powered by ViewVC 1.1.23