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

SCM Repository

[diderot] Diff of /tests/new-tests/steps.pdid
ViewVC logotype

Diff of /tests/new-tests/steps.pdid

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

revision 4748, Thu Oct 13 18:41:28 2016 UTC revision 4760, Mon Oct 17 12:04:18 2016 UTC
# Line 39  Line 39 
39      real active = id;      real active = id;
40      real updated = 0;      real updated = 0;
41      real idle = 0;      real idle = 0;
42        real initialized = 0; // (v2) NOTv1 NOTvL
43        real started = 0;     // (v2) NOTv1 NOTvL
44        initialize {          // (v2) NOTv1 NOTvL
45           initialized = id;  // (v2) NOTv1 NOTvL
46        }                     // (v2) NOTv1 NOTvL
47        start {               // (v2) NOTv1 NOTvL
48           started = id;      // (v2) NOTv1 NOTvL
49        }                     // (v2) NOTv1 NOTvL
50      update {      update {
51          updated = id;          updated = id;
52          if (dosee) {          if (dosee) {
# Line 79  Line 87 
87  /* // NOTv2 (v1) (vL)  /* // NOTv2 (v1) (vL)
88  start {  start {
89      real Dall = 800000 + sum { d.id | d in digit.all };      real Dall = 800000 + sum { d.id | d in digit.all };
90      real Dupd = 800000 + sum { d.updated | d in digit.all };      real Dupdated = 800000 + sum { d.updated | d in digit.all };
91      real Dact = 800000 + sum { d.id | d in digit.active };      real Dactive = 800000 + sum { d.id | d in digit.active };
92      real Dstb = 800000 + sum { d.id | d in digit.stable };      real Dstable = 800000 + sum { d.id | d in digit.stable };
93      real Didl = 800000 + sum { d.idle | d in digit.all };      real Didle = 800000 + sum { d.idle | d in digit.all };
94      print ("start: all=", Dall, "; active=", Dact, "; updated=", Dupd, "; stable=", Dstb, "; idle=", Didl, "\n");      real Dinitialized = 800000 + sum { d.initialized | d in digit.all }; // (v2) NOTv1 NOTvL
95        real Dstarted = 800000 + sum { d.started | d in digit.all };         // (v2) NOTv1 NOTvL
96        print("start: all=", Dall,
97              "; active=", Dactive,
98              "; updated=", Dupdated,
99              "; stable=", Dstable,
100              "; idle=", Didle,
101              "; initialized=", Dinitialized,                                // (v2) NOTv1 NOTvL
102              "; started=", Dstarted,                                        // (v2) NOTv1 NOTvL
103              "\n");
104      print ("                numActive=", numActive(), ";                   numStable=", numStable(), "\n"); // (v2) (v1) NOTvL      print ("                numActive=", numActive(), ";                   numStable=", numStable(), "\n"); // (v2) (v1) NOTvL
105  }  }
106  */ // NOTv2 (v1) (vL)  */ // NOTv2 (v1) (vL)
# Line 92  Line 109 
109  update // (v2) NOTv1 NOTvL  update // (v2) NOTv1 NOTvL
110  {  {
111      real Dall = 800000 + sum { d.id | d in digit.all };      real Dall = 800000 + sum { d.id | d in digit.all };
112      real Dupd = 800000 + sum { d.updated | d in digit.all };      real Dupdated = 800000 + sum { d.updated | d in digit.all };
113      real Dact = 800000 + sum { d.id | d in digit.active };      real Dactive = 800000 + sum { d.id | d in digit.active };
114      real Dstb = 800000 + sum { d.id | d in digit.stable };      real Dstable = 800000 + sum { d.id | d in digit.stable };
115      real Didl = 800000 + sum { d.idle | d in digit.all };      real Didle = 800000 + sum { d.idle | d in digit.all };
116      print("(g) ", step, ": all=", Dall, "; active=", Dact, "; updated=", Dupd, "; stable=", Dstb, "; idle=", Didl, "\n");      real Dinitialized = 800000 + sum { d.initialized | d in digit.all }; // (v2) NOTv1 NOTvL
117        real Dstarted = 800000 + sum { d.started | d in digit.all };         // (v2) NOTv1 NOTvL
118        print("(g) ", step, ": all=", Dall,
119              "; active=", Dactive,
120              "; updated=", Dupdated,
121              "; stable=", Dstable,
122              "; idle=", Didle,
123              "; initialized=", Dinitialized,                                // (v2) NOTv1 NOTvL
124              "; started=", Dstarted,                                        // (v2) NOTv1 NOTvL
125              "\n");
126      print ("                numActive=", numActive(), ";                   numStable=", numStable(), "\n"); // (v2) (v1) NOTvL      print ("                numActive=", numActive(), ";                   numStable=", numStable(), "\n"); // (v2) (v1) NOTvL
127      step += 1;      step += 1;
128      if (20 == step) {      if (20 == step) {

Legend:
Removed from v.4748  
changed lines
  Added in v.4760

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