diff options
Diffstat (limited to 'power-libperfmgr/libperfmgr/include/perfmgr/HintManager.h')
-rw-r--r-- | power-libperfmgr/libperfmgr/include/perfmgr/HintManager.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/power-libperfmgr/libperfmgr/include/perfmgr/HintManager.h b/power-libperfmgr/libperfmgr/include/perfmgr/HintManager.h index 13211a18..34726f5e 100644 --- a/power-libperfmgr/libperfmgr/include/perfmgr/HintManager.h +++ b/power-libperfmgr/libperfmgr/include/perfmgr/HintManager.h @@ -125,6 +125,9 @@ class HintManager { // get current ADPF. std::shared_ptr<AdpfConfig> GetAdpfProfile() const; + // Query if given AdpfProfile supported. + bool IsAdpfProfileSupported(const std::string &name) const; + // Static method to construct HintManager from the JSON config file. static std::unique_ptr<HintManager> GetFromJSON( const std::string& config_path, bool start = true); |