feature: Add debug/release variable prefixes

Resolves:  NEO-6357
Signed-off-by: John Falkowski <john.falkowski@intel.com>
This commit is contained in:
John Falkowski
2023-07-20 05:54:03 +00:00
committed by Compute-Runtime-Automation
parent 6fca8ee195
commit ec95d9314a
24 changed files with 1363 additions and 67 deletions

View File

@@ -15,13 +15,19 @@
namespace NEO {
enum class DebugVarPrefix : uint8_t;
class SettingsFileReader : public SettingsReader {
public:
SettingsFileReader(const char *filePath);
~SettingsFileReader() override;
int32_t getSetting(const char *settingName, int32_t defaultValue, DebugVarPrefix &type) override;
int32_t getSetting(const char *settingName, int32_t defaultValue) override;
int64_t getSetting(const char *settingName, int64_t defaultValue, DebugVarPrefix &type) override;
int64_t getSetting(const char *settingName, int64_t defaultValue) override;
bool getSetting(const char *settingName, bool defaultValue, DebugVarPrefix &type) override;
bool getSetting(const char *settingName, bool defaultValue) override;
std::string getSetting(const char *settingName, const std::string &value, DebugVarPrefix &type) override;
std::string getSetting(const char *settingName, const std::string &value) override;
const char *appSpecificLocation(const std::string &name) override;