Reference documentation and code samples for the Google Cloud Profiler V2 Client class 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.
Protobuf type google.devtools.cloudprofiler.v2.ProfileType
Namespace
Google \ Cloud \ Profiler \ V2Methods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
PROFILE_TYPE_UNSPECIFIED
Value: 0Unspecified profile type.
Generated from protobuf enum PROFILE_TYPE_UNSPECIFIED = 0;
CPU
Value: 1Thread CPU time sampling.
Generated from protobuf enum CPU = 1;
WALL
Value: 2Wallclock time sampling. More expensive as stops all threads.
Generated from protobuf enum WALL = 2;
HEAP
Value: 3In-use heap profile. Represents a snapshot of the allocations that are live at the time of the profiling.
Generated from protobuf enum HEAP = 3;
THREADS
Value: 4Single-shot collection of all thread stacks.
Generated from protobuf enum THREADS = 4;
CONTENTION
Value: 5Synchronization contention profile.
Generated from protobuf enum CONTENTION = 5;
PEAK_HEAP
Value: 6Peak heap profile.
Generated from protobuf enum PEAK_HEAP = 6;
HEAP_ALLOC
Value: 7Heap 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.
Generated from protobuf enum HEAP_ALLOC = 7;