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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This webpage provides reference documentation for the `ProfileType` enum within the Google Cloud Profiler v2 API."],["The `ProfileType` enum defines various types of profiling data, including `Contention`, `Cpu`, `Heap`, `HeapAlloc`, `PeakHeap`, `Threads`, `Unspecified`, and `Wall`."],["The latest version of the documentation is for version 2.6.0, with previous versions from 2.5.0 down to 1.0.0 also being available."],["The available `ProfileType` fields in the enum are string identifiers that must not be renamed."],["The `ProfileType` documentation contains a table that describes the function and use cases for each available field."]]],[]]