{"title":"Codeunit 1925 Sampling Perf. Profiler Impl., extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/1925-sampling-perf-profiler-impl/points/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":1925,"name":"Sampling Perf. Profiler Impl.","app":"System Application","url":"https://jonas-paprotka.de/ref/codeunit/1925-sampling-perf-profiler-impl/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/1925-sampling-perf-profiler-impl/source/","path":"src/System Application/App/Performance Profiler/src/SamplingPerfProfilerImpl.Codeunit.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"codeunit:4100":{"name":"Temp Blob","url":"https://jonas-paprotka.de/ref/codeunit/4100-temp-blob/"},"table:1921":{"name":"Profiling Node","url":"https://jonas-paprotka.de/ref/table/1921-profiling-node/"}},"procs":[{"name":"Stop","line":43,"kind":"procedure","params":0,"steps":[[50,"call","UpdateCpuProfile",1]]},{"name":"GetData","line":62,"kind":"procedure","params":0,"steps":[[66,"ext","codeunit",4100,"HasValue",0],[69,"ext","codeunit",4100,"CreateInStream",1]]},{"name":"SetData","line":73,"kind":"procedure","params":1,"steps":[[75,"call","UpdateCpuProfile",1]]},{"name":"UpdateCpuProfile","line":86,"kind":"procedure","access":"local","params":1,"steps":[[91,"ext","codeunit",4100,"CreateOutStream",1],[93,"call","InitializeCpuProfile",0]]},{"name":"InitializeCpuProfile","line":96,"kind":"procedure","access":"local","params":0,"steps":[[100,"ext","codeunit",4100,"CreateInStream",1],[101,"call","TryDeserializeCpuProfile",1]]},{"name":"GetProfilingNodes","line":120,"kind":"procedure","params":1,"steps":[[126,"call","CheckRecordingExists",0],[130,"call","AddCpuProfileNode",4],[133,"call","AddCpuProfileNodeDuration",3]]},{"name":"AddCpuProfileNode","line":136,"kind":"procedure","access":"local","params":4,"steps":[[159,"write",1921,"Insert"]]},{"name":"AddCpuProfileNodeDuration","line":162,"kind":"procedure","access":"local","params":3,"steps":[[166,"write",1921,"Modify"]]},{"name":"GetProfilingCallTree","line":170,"kind":"procedure","params":1,"steps":[[182,"call","CheckRecordingExists",0],[201,"call","PopulateDepthFirstTree",5]]},{"name":"PopulateDepthFirstTree","line":204,"kind":"procedure","access":"local","params":5,"steps":[[236,"call","AddCpuProfileNode",4],[249,"call","AddSelfAndFullTime",4]]},{"name":"AddSelfAndFullTime","line":252,"kind":"procedure","access":"local","params":4,"steps":[[284,"write",1921,"Modify"]]}]}