+ def get_tuning(self, profile):
+ """ get performance tuning option
+
+ Parameters
+ ----------
+ profile_name : str
+ Performance profile name.
+ Returns
+ -------
+ str
+ Performance tuning option.
+
+ Raises
+ ------
+ ConfigError
+ """
+ self.is_valid_profile(profile)
+ if self.TUNING not in self.config[self.ROOT][profile]:
+ return None
+
+ return self.config[self.ROOT][profile][self.TUNING]
+
+ def get_low_latency_kcmd_options(self, profile):
+ """ get low latency kernel cmd option
+
+ Parameters
+ ----------
+ profile_name : str
+ Performance profile name.
+ Returns
+ -------
+ str
+ Low latency kernel cmd options.
+
+ Raises
+ ------
+ ConfigError
+ """
+ self.is_valid_profile(profile)
+ if self.LOW_LATENCY_OPTIONS not in self.config[self.ROOT][profile]:
+ return None
+
+ return self.config[self.ROOT][profile][self.LOW_LATENCY_OPTIONS]
+
+ def set_low_latency_kcmd_options(self, profile, options):
+ """ set low latency kernel cmd option
+
+ Parameters
+ ----------
+ profile_name : str
+ Performance profile name.
+ Returns
+ -------
+ str
+ Low latency kernel cmd options.
+
+ Raises
+ ------
+ ConfigError
+ """
+ self.is_valid_profile(profile)
+ if not isinstance(options, list):
+ self.raise_error(profile, self.ERR_INVALID_LOW_LATENCY_OPTIONS)
+
+ self._fill_option_value(self.config[self.ROOT][profile], profile, self.LOW_LATENCY_OPTIONS, options)
+