Cloud Profiler V2 API - Module Google::Cloud::Profiler::V2::ProfileType (v0.6.1)

Reference documentation and code samples for the Cloud Profiler V2 API module Google::Cloud::Profiler::V2::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.

Constants

PROFILE_TYPE_UNSPECIFIED

value: 0
Unspecified profile type.

CPU

value: 1
Thread CPU time sampling.

WALL

value: 2
Wallclock time sampling. More expensive as stops all threads.

HEAP

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

THREADS

value: 4
Single-shot collection of all thread stacks.

CONTENTION

value: 5
Synchronization contention profile.

PEAK_HEAP

value: 6
Peak heap profile.

HEAP_ALLOC

value: 7
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.