語言

Debug.GlobalAllocSize 屬性

定義

警告

deprecated

回傳由執行時間在 a #startAllocCounting() start 與 #stopAllocCounting() stop之間分配物件的全域大小(位元組)。

[System.Obsolete("deprecated")]
public static int GlobalAllocSize { [Android.Runtime.Register("getGlobalAllocSize", "()I", "")] get; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("getGlobalAllocSize", "()I", "")>]
static member GlobalAllocSize : int

屬性值

執行時間在 a #startAllocCounting() start 與 #stopAllocCounting() stop之間分配物件的全域大小(以位元組為單位)。

屬性

備註

回傳由執行時間在 a #startAllocCounting() start 與 #stopAllocCounting() stop之間分配物件的全域大小(位元組)。

此會員已被棄用。 精確的計數會增加執行時間的負擔,且可以被移除。

Java 文件 android.os.Debug.getGlobalAllocSize()。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於