about summary refs log tree commit diff stats
path: root/html/999spaces.cc.html
diff options
context:
space:
mode:
Diffstat (limited to 'html/999spaces.cc.html')
-rw-r--r--html/999spaces.cc.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/html/999spaces.cc.html b/html/999spaces.cc.html
index c4ac40bc..4e3fe2f2 100644
--- a/html/999spaces.cc.html
+++ b/html/999spaces.cc.html
@@ -50,6 +50,18 @@ assert<span class="Delimiter">(</span>Reserved_for_tests == <span class="Constan
 <span class="Comment">//: 1-99 - primitives</span>
 <span class="Comment">//: 100-999 - defined in .mu files as sequences of primitives</span>
 <span class="Comment">//: 1000 onwards - reserved for tests, cleared between tests</span>
+
+<span class="SalientComment">//:: Depths for tracing</span>
+<span class="Comment">//:</span>
+<span class="Comment">//: 0 - unused</span>
+<span class="Comment">//: 1-99 - app-level trace statements in mu</span>
+<span class="Comment">//: 100 - schedule</span>
+assert<span class="Delimiter">(</span>Scheduling_depth == <span class="Constant">100</span><span class="Delimiter">);</span>
+<span class="Comment">//: 101-9998 - call-stack statements (mostly label run)</span>
+assert<span class="Delimiter">(</span>Initial_callstack_depth == <span class="Constant">101</span><span class="Delimiter">);</span>
+assert<span class="Delimiter">(</span>Max_callstack_depth == <span class="Constant">9998</span><span class="Delimiter">);</span>
+<span class="Comment">//: 9999 - intra-instruction lines (mostly label mem)</span>
+assert<span class="Delimiter">(</span>Primitive_recipe_depth == <span class="Constant">9999</span><span class="Delimiter">);</span>
 </pre>
 </body>
 </html>