def METHOD_NAME(self):
    self.core.break_realtime()
    self.dev.init()
    n = 10
    t0 = self.core.get_rtio_counter_mu()
    for i in range(n):
        self.dev.cfg_sw(3, bool(i & 1))
    self.set_dataset("dt", self.core.mu_to_seconds(
        self.core.get_rtio_counter_mu() - t0) / n)