Debug.InstructionCount.GlobalTotal 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.
Caution
deprecated
Returns the total number of instructions recorded globally.
[Android.Runtime.Register("globalTotal", "()I", "GetGlobalTotalHandler")]
[System.Obsolete("deprecated")]
public virtual int GlobalTotal();
[<Android.Runtime.Register("globalTotal", "()I", "GetGlobalTotalHandler")>]
[<System.Obsolete("deprecated")>]
abstract member GlobalTotal : unit -> int
override this.GlobalTotal : unit -> int
Returns
The recorded instruction count. On Android 9 (API level 28) and later, the base implementation returns zero.
- Attributes
Remarks
Return the total number of instructions executed globally (i.e. in all threads).
On Android 9 (API level 28) and later, instruction counting is not supported and the base implementation returns zero.
Java documentation for android.os.Debug.InstructionCount.globalTotal().
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.