add setPreferPowerEfficiency call
This commit is contained in:
parent
d221880aaa
commit
d4ab16e09e
@ -54,6 +54,11 @@ public class GameSdk {
|
|||||||
public void SetPerfHitTargetNanos( long targetNs) {
|
public void SetPerfHitTargetNanos( long targetNs) {
|
||||||
performanceHintSession.updateTargetWorkDuration(targetNs);
|
performanceHintSession.updateTargetWorkDuration(targetNs);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void SetPerfHitPreferPowerEfficiency(boolean preferPowerEfficiency) {
|
||||||
|
performanceHintSession.setPreferPowerEfficiency(preferPowerEfficiency);
|
||||||
|
}
|
||||||
|
|
||||||
public void ReportPerfHint(long durantionNs) {
|
public void ReportPerfHint(long durantionNs) {
|
||||||
performanceHintSession.reportActualWorkDuration(durantionNs);
|
performanceHintSession.reportActualWorkDuration(durantionNs);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user