Langage

Debug.ThreadGcInvocationCount Propriété

Définition

Retourne le nombre d’appels GC non simultanés de threads locaux entre a #startAllocCounting() start et #stopAllocCounting() stop.

public static int ThreadGcInvocationCount { [Android.Runtime.Register("getThreadGcInvocationCount", "()I", "")] get; }
[<get: Android.Runtime.Register("getThreadGcInvocationCount", "()I", "")>]
static member ThreadGcInvocationCount : int

Valeur de propriété

Nombre d’appels gc non simultanés de threads locaux entre a #startAllocCounting() start et #stopAllocCounting() stop.

Attributs

Remarques

Retourne le nombre d’appels GC non simultanés de threads locaux entre a #startAllocCounting() start et #stopAllocCounting() stop.

Ce membre est déconseillé. Le comptage précis est un fardeau sur le runtime et peut être supprimé.

Java documentation pour android.os.Debug.getThreadGcInvocationCount().

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à