Cloud Profiler v2 API - Enum ProfileType (2.4.0)

public enum ProfileType

Reference documentation and code samples for the Cloud Profiler v2 API enum ProfileType.

ProfileType is type of profiling data. NOTE: the enumeration member names are used (in lowercase) as unique string identifiers of profile types, so they must not be renamed.

Namespace

Google.Cloud.Profiler.V2

Assembly

Google.Cloud.Profiler.V2.dll

Fields

NameDescription
Contention

Synchronization contention profile.

Cpu

Thread CPU time sampling.

Heap

In-use heap profile. Represents a snapshot of the allocations that are live at the time of the profiling.

HeapAlloc

Heap allocation profile. It represents the aggregation of all allocations made over the duration of the profile. All allocations are included, including those that might have been freed by the end of the profiling interval. The profile is in particular useful for garbage collecting languages to understand which parts of the code create most of the garbage collection pressure to see if those can be optimized.

PeakHeap

Peak heap profile.

Threads

Single-shot collection of all thread stacks.

Unspecified

Unspecified profile type.

Wall

Wallclock time sampling. More expensive as stops all threads.