CpuHeadroomParams.Builder.SetTids(Int32[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the thread TIDs to track. The TIDs should belong to the same of the process that will make the headroom call. And they should not have different core affinity. If not set or set to empty, the headroom will be based on the PID of the process making the call. Parameters tids int : non-null list of TIDs, where maximum size can be read from SystemHealthManager.getMaxCpuHeadroomTidsSize() .
[Android.Runtime.Register("setTids", "([I)Landroid/os/CpuHeadroomParams$Builder;", "", ApiSince=36)]
public Android.OS.CpuHeadroomParams.Builder SetTids(params int[] tids);
[<Android.Runtime.Register("setTids", "([I)Landroid/os/CpuHeadroomParams$Builder;", "", ApiSince=36)>]
member this.SetTids : int[] -> Android.OS.CpuHeadroomParams.Builder
Parameters
- tids
- Int32[]
The thread IDs to configure.
Returns
The returned value is non-null.
- Attributes
Remarks
Sets the thread TIDs to track. The TIDs should belong to the same of the process that will make the headroom call. And they should not have different core affinity. If not set or set to empty, the headroom will be based on the PID of the process making the call. Parameters tids int : non-null list of TIDs, where maximum size can be read from SystemHealthManager.getMaxCpuHeadroomTidsSize() .
Java documentation for android.os.CpuHeadroomParams.Builder.setTids(int[]).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.