Skip to content

Commit d6490bf

Browse files
authored
Update documentation for reportActualDuration method
Clarify usage of reportActualDuration for different Android versions.
1 parent dc38de3 commit d6490bf

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/common/AdpfWrapper.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@ namespace oboe {
7474
/**
7575
* Report the measured duration of a callback.
7676
* This is normally called by onEndCallback().
77-
* You may want to call this directly in order to give an advance hint of a jump in workload.
77+
* On older Android devices (below Android 16), you may want to call this directly in order
78+
* to give an advance hint of a jump in workload.
79+
* On newer APIs, use notifyWorkloadIncrease() instead.
7880
* @param actualDurationNanos
7981
*/
8082
void reportActualDuration(int64_t actualDurationNanos);

0 commit comments

Comments
 (0)