code: def handle_tick(self):
          
  
          self.uptime += 1
  
          for name, interval in self.ticks.items():
              if interval == 0:
                  continue
  
              self.tick_counters[name] += 1
              if self.tick_counters[name] == interval:
                  self.graph_input(self.TICK_STREAMS[name], self.uptime)
                  self.tick_counters[name] = 0
docs: Internal callback every time 1 second has passed.