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

SCM Repository

[diderot] Diff of /branches/lamont/src/compiler/c-target/fragments/seq-run.in
ViewVC logotype

Diff of /branches/lamont/src/compiler/c-target/fragments/seq-run.in

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

revision 1717, Sat Mar 10 19:44:29 2012 UTC revision 1718, Sat Mar 10 23:03:02 2012 UTC
# Line 10  Line 10 
10    
11    // iterate until all strands are stable    // iterate until all strands are stable
12      if (wrld->verboseFlg) fprintf(stderr, "run with %d strands ...\n", wrld->numStrands);      if (wrld->verboseFlg) fprintf(stderr, "run with %d strands ...\n", wrld->numStrands);
     double t0 = airTime();  
13      uint32_t nSteps = 0, nUpdates = 0;      uint32_t nSteps = 0, nUpdates = 0;
14      uint32_t nActive = wrld->numStrands;      uint32_t nActive = wrld->numStrands;
15      while ((nActive > 0) && (nSteps <= maxNSteps)) {      while ((nActive > 0) && (nSteps <= maxNSteps)) {
# Line 54  Line 53 
53          wrld->inState = wrld->outState;          wrld->inState = wrld->outState;
54          wrld->outState = tmp;          wrld->outState = tmp;
55      }      }
     double totalTime = airTime() - t0;  
56    
57      return nSteps;      return nSteps;
58    

Legend:
Removed from v.1717  
changed lines
  Added in v.1718

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