def __init__(self, executor):
    self.log = executor.log.getChild(self.__class__.__name__)
    self.load = executor.get_specific_load()
    self.raw_load = executor.get_raw_load()
    self.log.debug('Load: %s', self.load)
    self.force_ctg = executor.settings.get('force-ctg', True)
    self.tg = self._detect_thread_group(executor)
    self.tg_handler = ThreadGroupHandler(self.log)
def __init__(self, executor):
    self.log = executor.log.getChild(self.__class__.__name__)
    self.load = executor.get_specific_load()
    self.raw_load = executor.get_raw_load()
    self.log.debug('Load: %s', self.load)
    self.force_ctg = executor.settings.get('force-ctg', True)
    self.tg = self._detect_thread_group(executor)
    self.tg_handler = ThreadGroupHandler(self.log)