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

SCM Repository

[diderot] Diff of /branches/pure-cfg/src/lib/c-target/main.c
ViewVC logotype

Diff of /branches/pure-cfg/src/lib/c-target/main.c

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

revision 1602, Thu Nov 3 15:11:02 2011 UTC revision 1603, Thu Nov 3 17:17:07 2011 UTC
# Line 51  Line 51 
51    
52    // iterate until all strands are stable    // iterate until all strands are stable
53      if (VerboseFlg) fprintf(stderr, "run with %d strands ...\n", wrld->numStrands);      if (VerboseFlg) fprintf(stderr, "run with %d strands ...\n", wrld->numStrands);
54      double t0 = GetTime();      double t0 = airTime();
55      int nSteps = 0, nUpdates = 0;      int nSteps = 0, nUpdates = 0;
56      int nActive = wrld->numStrands;      int nActive = wrld->numStrands;
57      while (nActive > 0) {      while (nActive > 0) {
# Line 95  Line 95 
95          wrld->inState = wrld->outState;          wrld->inState = wrld->outState;
96          wrld->outState = tmp;          wrld->outState = tmp;
97      }      }
98      double totalTime = GetTime() - t0;      double totalTime = airTime() - t0;
99    
100      if (VerboseFlg)      if (VerboseFlg)
101          fprintf (stderr, "done: %d updates, %d steps, in %f seconds\n", nUpdates, nSteps, totalTime);          fprintf (stderr, "done: %d updates, %d steps, in %f seconds\n", nUpdates, nSteps, totalTime);

Legend:
Removed from v.1602  
changed lines
  Added in v.1603

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