Module: Google::Cloud::Profiler::V2::ProfileType

Defined in:
proto_docs/google/devtools/cloudprofiler/v2/profiler.rb

Overview

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.

Constant Summary collapse

PROFILE_TYPE_UNSPECIFIED =

Unspecified profile type.

0
CPU =

Thread CPU time sampling.

1
WALL =

Wallclock time sampling. More expensive as stops all threads.

2
HEAP =

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

3
THREADS =

Single-shot collection of all thread stacks.

4
CONTENTION =

Synchronization contention profile.

5
PEAK_HEAP =

Peak heap profile.

6
HEAP_ALLOC =

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.

7