Codeunit 1925 Sampling Perf. Profiler Impl.

System Application, System.Tooling

Source AL, 297 lines

src/System Application/App/Performance Profiler/src/SamplingPerfProfilerImpl.Codeunit.allines 11 to 26 of 297, Copyright (c) Microsoft Corporation. MIT

codeunit 1925 "Sampling Perf. Profiler Impl."{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    var        TempBlob: Codeunit "Temp Blob";        SamplingProfiler: DotNet SamplingProfiler;        CpuProfile: DotNet CpuProfile;        IsRecordingRunning: Boolean;        IdleTimeTok: Label 'IdleTime', Locked = true;        NoRecordingErr: Label 'There is no performance profiling data.';        NotSupportedCpuProfileKindErr: Label 'This type of .alcpuprofile file is not supported. Please upload a sampling-based CPU profile file.';        PrivacyNoticeMsg: Label 'The file might contain sensitive data, so be sure to handle it securely and according to privacy requirements. Do you want to continue?';

All 297 lines

Public procedures 9 in 29

Start()new in 20
Stop()new in 20
IsRecordingInProgress(): Booleannew in 20
GetData(): InStreamnew in 20
SetData(ProfilingResultsInStream: InStream)new in 20
GetProfilingNodes(var ProfilingNode: Record "Profiling Node")new in 20

All 9 procedures

Changes 1 in 25

List17181920212223242526272829
Procedures11
DownloadData(ProfileFileName: Text; ProfileInStream: InStream)new in 25
added

All 2 changes in 20-29