Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/vis12-cl/src/compiler/c-target/fragments/par-main.in
ViewVC logotype

Diff of /branches/vis12-cl/src/compiler/c-target/fragments/par-main.in

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

revision 2751, Wed Oct 1 23:42:19 2014 UTC revision 2769, Sat Oct 11 23:38:49 2014 UTC
# Line 49  Line 49 
49    
50      if (wrld->verboseFlg)      if (wrld->verboseFlg)
51          fprintf(stderr, "run with %d strands ...\n", wrld->numStrands);          fprintf(stderr, "run with %d strands ...\n", wrld->numStrands);
     double t0 = airTime();  
52      uint32_t nSteps = @PREFIX@Run (wrld, 0);      uint32_t nSteps = @PREFIX@Run (wrld, 0);
     double totalTime = airTime() - t0;  
53      if (wrld->errors->errNum > 0) {      if (wrld->errors->errNum > 0) {
54          fprintf(stderr, "Error during execution:\n%s\n", biffMsgStrGet(wrld->errors));          fprintf(stderr, "Error during execution:\n%s\n", biffMsgStrGet(wrld->errors));
55          exit(1);          exit(1);
56      }      }
57    
58      if (wrld->verboseFlg)      if (wrld->verboseFlg)
59          fprintf (stderr, "done: %d steps, in %f seconds\n", nSteps, totalTime);          fprintf (stderr, "done: %d steps, in %f seconds\n", nSteps, wrld->runTime);
60      else if (timingFlg)      else if (timingFlg)
61          printf ("usr=%f\n", totalTime);          printf ("usr=%f\n", wrld->runTime);
62    
63    // output the final strand states    // output the final strand states
64      if (printOutputFlg)      if (printOutputFlg)

Legend:
Removed from v.2751  
changed lines
  Added in v.2769

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0