File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ def count(self):
195
195
return count
196
196
197
197
@kernel
198
- def timestamp (self ):
198
+ def timestamp_mu (self ):
199
199
"""Poll the RTIO input and returns an event timestamp, according to
200
200
the gating.
201
201
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ def run(self):
26
26
delay (1 * us )
27
27
t0 = now_mu ()
28
28
self .ttl_inout .pulse (1 * us )
29
- self .set_rtt (mu_to_seconds (self .ttl_inout .timestamp () - t0 ))
29
+ self .set_rtt (mu_to_seconds (self .ttl_inout .timestamp_mu () - t0 ))
30
30
31
31
32
32
class Loopback (EnvExperiment ):
@@ -48,7 +48,7 @@ def run(self):
48
48
delay (1 * us )
49
49
t0 = now_mu ()
50
50
self .loop_out .pulse (1 * us )
51
- self .set_rtt (mu_to_seconds (self .loop_in .timestamp () - t0 ))
51
+ self .set_rtt (mu_to_seconds (self .loop_in .timestamp_mu () - t0 ))
52
52
53
53
54
54
class ClockGeneratorLoopback (EnvExperiment ):
You can’t perform that action at this time.
0 commit comments