mirror of
https://github.com/openharmony/linux_frame_aware_sched.git
synced 2026-07-01 22:24:08 -04:00
rtg_interface add createGroup interface
Signed-off-by: ymw1997 <yemingwei1@huawei.com>
This commit is contained in:
@@ -85,6 +85,7 @@ enum rtg_sched_cmdid {
|
||||
};
|
||||
|
||||
bool GetAppExpelAbility(const std::string &appBundleName);
|
||||
int CreateNewRtgGrp(int prioType, int rtNum);
|
||||
|
||||
extern "C" {
|
||||
int EnableRtg(bool flag);
|
||||
|
||||
@@ -397,5 +397,10 @@ bool GetAppExpelAbility(const std::string &appBundleName)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
int CreateNewRtgGrp(int prioType, int rtNum)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
} // namespace RME
|
||||
} // namespace OHOS
|
||||
|
||||
Reference in New Issue
Block a user