MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / a_run

Function a_run

tests/scripts/test_change_tracking.py:125–131  ·  view source on GitHub ↗
(store)

Source from the content-addressed store, hash-verified

123 b = Dataset(reads=[1]) # B reads A's final slot (slot 1)
124
125 def a_run(store):
126 store.set_capture_target(a.read_slots)
127 store.read(0)
128 store.set_capture_target(None)
129 store.write(1) # A writes its final value -> bumps slot 1
130 a.last_run_clock = store.write_clock
131 a.runs += 1
132
133 def a_frame(store):
134 if a.should_run(store):

Callers 1

a_frameFunction · 0.85

Calls 3

set_capture_targetMethod · 0.80
readMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected