summaryrefslogtreecommitdiff
path: root/power-libperfmgr/libperfmgr/include/perfmgr/HintManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'power-libperfmgr/libperfmgr/include/perfmgr/HintManager.h')
-rw-r--r--power-libperfmgr/libperfmgr/include/perfmgr/HintManager.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/power-libperfmgr/libperfmgr/include/perfmgr/HintManager.h b/power-libperfmgr/libperfmgr/include/perfmgr/HintManager.h
index d360fea0..13211a18 100644
--- a/power-libperfmgr/libperfmgr/include/perfmgr/HintManager.h
+++ b/power-libperfmgr/libperfmgr/include/perfmgr/HintManager.h
@@ -61,9 +61,11 @@ struct HintStatus {
enum class HintActionType { Node, DoHint, EndHint, MaskHint };
struct HintAction {
- HintAction(HintActionType t, const std::string &v) : type(t), value(v) {}
+ HintAction(HintActionType t, const std::string &v, const std::string &p)
+ : type(t), value(v), enable_property(p) {}
HintActionType type;
std::string value;
+ std::string enable_property;
};
struct Hint {