Enum ProfileType (2.2.0)

public enum ProfileType extends Enum<ProfileType> implements ProtocolMessageEnum

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 enum google.devtools.cloudprofiler.v2.ProfileType

Implements

ProtocolMessageEnum

Static Fields

NameDescription
CONTENTION

Synchronization contention profile.

CONTENTION = 5;

CONTENTION_VALUE

Synchronization contention profile.

CONTENTION = 5;

CPU

Thread CPU time sampling.

CPU = 1;

CPU_VALUE

Thread CPU time sampling.

CPU = 1;

HEAP

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

HEAP = 3;

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.

HEAP_ALLOC = 7;

HEAP_ALLOC_VALUE

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.

HEAP_ALLOC = 7;

HEAP_VALUE

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

HEAP = 3;

PEAK_HEAP

Peak heap profile.

PEAK_HEAP = 6;

PEAK_HEAP_VALUE

Peak heap profile.

PEAK_HEAP = 6;

PROFILE_TYPE_UNSPECIFIED

Unspecified profile type.

PROFILE_TYPE_UNSPECIFIED = 0;

PROFILE_TYPE_UNSPECIFIED_VALUE

Unspecified profile type.

PROFILE_TYPE_UNSPECIFIED = 0;

THREADS

Single-shot collection of all thread stacks.

THREADS = 4;

THREADS_VALUE

Single-shot collection of all thread stacks.

THREADS = 4;

UNRECOGNIZED
WALL

Wallclock time sampling. More expensive as stops all threads.

WALL = 2;

WALL_VALUE

Wallclock time sampling. More expensive as stops all threads.

WALL = 2;

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()