def command_max_delay(self, event=None):
        """ CPU burst max running time - self.runtime_cfg.max_delay """
        try:
            max_delay = self.max_delay_var.get()
        except ValueError:
            max_delay = self.runtime_cfg.max_delay

        if max_delay < 0:
            max_delay = self.runtime_cfg.max_delay

        if max_delay > 0.1:
            max_delay = self.runtime_cfg.max_delay

        self.runtime_cfg.max_delay = max_delay
        self.max_delay_var.set(self.runtime_cfg.max_delay)
def command_max_delay ( self , event = None ) : try : max_delay = self . max_delay_var . get ( ) except ValueError : max_delay = self . runtime_cfg . max_delay if max_delay < 0 : max_delay = self . runtime_cfg . max_delay if max_delay > 0.1 : max_delay = self . runtime_cfg . max_delay self . runtime_cfg . max_delay = max_delay self . max_delay_var . set ( self . runtime_cfg . max_delay )
CPU burst max running time - self.runtime_cfg.max_delay