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-08-28 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eProfileType\u003c/code\u003e enum within the Google Cloud Profiler v2 API for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version documented is 2.6.0, with historical versions available back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eProfileType\u003c/code\u003e defines the different types of profiling data, such as \u003ccode\u003eContention\u003c/code\u003e, \u003ccode\u003eCpu\u003c/code\u003e, \u003ccode\u003eHeap\u003c/code\u003e, \u003ccode\u003eHeapAlloc\u003c/code\u003e, \u003ccode\u003ePeakHeap\u003c/code\u003e, \u003ccode\u003eThreads\u003c/code\u003e, \u003ccode\u003eUnspecified\u003c/code\u003e, and \u003ccode\u003eWall\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eEach \u003ccode\u003eProfileType\u003c/code\u003e field has a specific description detailing the nature of the profiling data it represents, like \u003ccode\u003eContention\u003c/code\u003e for synchronization contention and \u003ccode\u003eHeapAlloc\u003c/code\u003e for heap allocation profiles.\u003c/p\u003e\n"],["\u003cp\u003eThe enumeration member names of the \u003ccode\u003eProfileType\u003c/code\u003e are used as unique string identifiers for profile types and must not be changed.\u003c/p\u003e\n"]]],[],null,["# Cloud Profiler v2 API - Enum ProfileType (2.6.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.6.0 (latest)](/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.ProfileType)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Profiler.V2/2.5.0/Google.Cloud.Profiler.V2.ProfileType)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Profiler.V2/2.4.0/Google.Cloud.Profiler.V2.ProfileType)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Profiler.V2/2.3.0/Google.Cloud.Profiler.V2.ProfileType)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Profiler.V2/2.2.0/Google.Cloud.Profiler.V2.ProfileType)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Profiler.V2/2.1.0/Google.Cloud.Profiler.V2.ProfileType)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Profiler.V2/2.0.0/Google.Cloud.Profiler.V2.ProfileType)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Profiler.V2/1.2.0/Google.Cloud.Profiler.V2.ProfileType)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Profiler.V2/1.1.0/Google.Cloud.Profiler.V2.ProfileType)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Profiler.V2/1.0.0/Google.Cloud.Profiler.V2.ProfileType) \n\n public enum ProfileType\n\nReference documentation and code samples for the Cloud Profiler v2 API enum ProfileType.\n\nProfileType is type of profiling data.\nNOTE: the enumeration member names are used (in lowercase) as unique string\nidentifiers of profile types, so they must not be renamed.\n\nNamespace\n---------\n\n[Google.Cloud.Profiler.V2](/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.Profiler.V2.dll"]]