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

branches/vis12/src/compiler/c-target/fragments/run.in revision 1826, Thu Apr 12 14:04:38 2012 UTC branches/vis12/src/compiler/c-target/fragments/seq-run.in revision 1917, Thu Jun 7 12:34:40 2012 UTC
# Line 12  Line 12 
12    // iterate until all strands are stable    // iterate until all strands are stable
13      if (wrld->verboseFlg) fprintf(stderr, "run with %d strands ...\n", wrld->numStrands);      if (wrld->verboseFlg) fprintf(stderr, "run with %d strands ...\n", wrld->numStrands);
14      uint32_t nSteps = 0, nUpdates = 0;      uint32_t nSteps = 0, nUpdates = 0;
15      uint32_t nActive = wrld->numStrands;      uint32_t nActive = wrld->numActive;
16      while ((nActive > 0) && (nSteps <= maxNSteps)) {      while ((nActive > 0) && (nSteps < maxNSteps)) {
17          nSteps++;          nSteps++;
18        // update strands        // update strands
19          bool existsStabilizing = false;          bool existsStabilizing = false;
# Line 56  Line 56 
56          wrld->inState = wrld->outState;          wrld->inState = wrld->outState;
57          wrld->outState = tmp;          wrld->outState = tmp;
58      }      }
59        wrld->numActive = nActive;
60    
61      return nSteps;      return nSteps;
62    

Legend:
Removed from v.1826  
changed lines
  Added in v.1917

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