def configure(self, options, config):
super(TimerPlugin, self).configure(options, config)<EOL>self.config = config<EOL>if self.enabled:<EOL><INDENT>self.timer_top_n = int(options.timer_top_n)<EOL>self.timer_ok = self._parse_time(options.timer_ok)<EOL>self.timer_warning = self._parse_time(options.timer_warning)<EOL>self.timer_filter = self._parse_filter(options.timer_filter)<EOL>self.timer_fail = options.timer_fail<EOL>self.timer_no_color = True<EOL>self.json_file = options.json_file<EOL>if not IS_NT:<EOL><INDENT>self.timer_no_color = options.timer_no_color<EOL><DEDENT>self.multiprocessing_enabled = bool(getattr(options, '<STR_LIT>', False))<EOL><DEDENT>
Configures the test timer plugin.