about summary refs log tree commit diff stats
path: root/arc/.traces/sleep-location
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-05-05 21:17:24 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-05-05 21:17:24 -0700
commitb96af395b9af2ff9df94b3e82213171f30827c8d (patch)
tree17c8c12648ccc25625e2534ec8d74fbe8f1542cc /arc/.traces/sleep-location
parent2e3b597fe85b654e82b891c22d50754fa5a26156 (diff)
downloadmu-b96af395b9af2ff9df94b3e82213171f30827c8d.tar.gz
1276 - make C++ version the default
I've tried to update the Readme, but there are at least a couple of issues.
Diffstat (limited to 'arc/.traces/sleep-location')
-rw-r--r--arc/.traces/sleep-location63
1 files changed, 63 insertions, 0 deletions
diff --git a/arc/.traces/sleep-location b/arc/.traces/sleep-location
new file mode 100644
index 00000000..01abcf27
--- /dev/null
+++ b/arc/.traces/sleep-location
@@ -0,0 +1,63 @@
+c{0: 0 (((1 integer)) <- ((copy)) ((0 literal))) -- nil
+c{0: 1 (((sleep)) ((until-location-changes literal)) ((1 integer))) -- nil
+c{0: 2 (((2 integer)) <- ((add)) ((1 integer)) ((1 literal))) -- nil
+c{1: 0 ✓ (((1 integer)) <- ((copy)) ((0 literal)))
+c{1: 1 ✓ (((sleep)) ((until-location-changes literal)) ((1 integer)))
+c{1: 2 ✓ (((2 integer)) <- ((add)) ((1 integer)) ((1 literal)))
+c{0: 0 (((sleep)) ((for-some-cycles literal)) ((30 literal))) -- nil
+c{0: 1 (((1 integer)) <- ((copy)) ((3 literal))) -- nil
+c{1: 0 ✓ (((sleep)) ((for-some-cycles literal)) ((30 literal)))
+c{1: 1 ✓ (((1 integer)) <- ((copy)) ((3 literal)))
+cn0: convert-names in f1
+cn0: (((1 integer)) <- ((copy)) ((0 literal))) nil nil
+cn0: checking arg ((0 literal))
+cn0: checking oarg ((1 integer))
+maybe-add: ((1 integer))
+cn0: (((sleep)) ((until-location-changes literal)) ((1 integer))) nil nil
+cn0: checking arg ((until-location-changes literal))
+cn0: checking arg ((1 integer))
+maybe-add: ((1 integer))
+cn0: (((2 integer)) <- ((add)) ((1 integer)) ((1 literal))) nil nil
+cn0: checking arg ((1 integer))
+maybe-add: ((1 integer))
+cn0: checking arg ((1 literal))
+cn0: checking oarg ((2 integer))
+maybe-add: ((2 integer))
+cn0: convert-names in f2
+cn0: (((sleep)) ((for-some-cycles literal)) ((30 literal))) nil nil
+cn0: checking arg ((for-some-cycles literal))
+cn0: checking arg ((30 literal))
+cn0: (((1 integer)) <- ((copy)) ((3 literal))) nil nil
+cn0: checking arg ((3 literal))
+cn0: checking oarg ((1 integer))
+maybe-add: ((1 integer))
+cn1: (((1 integer)) <- ((copy)) ((0 literal)))
+cn1: (((sleep)) ((until-location-changes literal)) ((1 integer)))
+cn1: (((2 integer)) <- ((add)) ((1 integer)) ((1 literal)))
+cn1: (((sleep)) ((for-some-cycles literal)) ((30 literal)))
+cn1: (((1 integer)) <- ((copy)) ((3 literal)))
+schedule: f1
+run: f1 0: (((1 integer)) <- ((copy)) ((0 literal)))
+run: f1 0: 0 => ((1 integer))
+mem: ((1 integer)): 1 <= 0
+run: f1 1: (((sleep)) ((until-location-changes literal)) ((1 integer)))
+mem: ((1 integer)) => 0
+schedule: pushing f1 to sleep queue
+schedule: f2
+run: f2 0: (((sleep)) ((for-some-cycles literal)) ((30 literal)))
+run: f2 0: sleeping until 33
+schedule: pushing f2 to sleep queue
+schedule: skipping to cycle 34
+schedule: waking up f2
+schedule: f2
+run: f2 1: (((1 integer)) <- ((copy)) ((3 literal)))
+run: f2 1: 3 => ((1 integer))
+mem: ((1 integer)): 1 <= 3
+schedule: done with routine nil
+schedule: waking up f1
+schedule: f1
+run: f1 2: (((2 integer)) <- ((add)) ((1 integer)) ((1 literal)))
+mem: ((1 integer)) => 3
+run: f1 2: 4 => ((2 integer))
+mem: ((2 integer)): 2 <= 4
+schedule: done with routine nil