def _tick_stats(self):
        last_tick = int(time.time())
        last_send = (last_tick // 60) * 60
        while True:
            now = time.time()
            # time to rotate minutes?
            if now > (last_send + 60):
                for manager in self._min_stat_counters:
                    manager.tock()
                for manager in self._sec_stat_counters:
                    manager.tock()
                last_send += 60

            # time to tick?
            if now > (last_tick + 1):
                for manager in self._sec_stat_counters:
                    manager.tick()
                last_tick += 1

            sleep(last_tick - time.time() + 1.0)
Returns a detailed list of availability zone.
dataset/ETHPy150Open simplecrypto/powerpool/powerpool/main.py/PowerPool._tick_stats--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/api/openstack/compute/availability_zone.py/AvailabilityZoneController.detail