ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/kiesel/TreeWriter/executable.cc
(Generate patch)

Comparing UserCode/kiesel/TreeWriter/executable.cc (file contents):
Revision 1.5 by kiesel, Wed Apr 24 14:21:44 2013 UTC vs.
Revision 1.7 by kiesel, Mon Apr 29 11:41:02 2013 UTC

# Line 21 | Line 21 | int main( int argc, char** argv ) {
21          tw->SetProcessNEvents(-1);
22          tw->SetReportEvents(20000);
23          tw->SkimEvents(true);
24 +
25 +        double start_time = time(NULL);
26          tw->Loop();
27 +        double end_time = time(NULL);
28 +
29 +        std::cout << "Job needed " << 1.*(end_time - start_time)/3600 << " h real time." << std::endl;
30  
31   }
32  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines