Codeunit 1923 "Profiling Data Processor"
System Application · System.Tooling
Across versions
- BC23-30present
Neighbourhood 5 connected objects and pages
System Application · System.Tooling · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Internal |
| SingleInstance | true |
Event subscriptions
- GetPerformanceTroubleshooterPageId subscribes to Codeunit “System Action Triggers” GetPerformanceTroubleshooterPageId
Procedures
Initialize(var RawProfilingNode: Record "Profiling Node"; var CallTreeProfilingNode: Record "Profiling Node"): Initializes the profiling data processor with the profiling data.ClearData(): Clears the previously initialized performance profiling data.IsInitialized(): Boolean: Checks if the profiling data processor is initialized with method.GetSelfTimeAggregate(var AggregatedProfilingNode: Record "Profiling Node"; ProfilingAggregationType: Enum "Profiling Aggregation Type"): Gets aggregate self time of profiling nodes using the provided aggregation type.GetSelfTimeAggregate(var AggregatedProfilingNode: Record "Profiling Node"; ProfilingAggregationType: Enum "Profiling Aggregation Type"; FilterText: Text): Gets aggregate self time of profiling nodes using the provided aggregation type.GetFullTimeAggregate(var AggregatedProfilingNode: Record "Profiling Node"; ProfilingAggregationType: Enum "Profiling Aggregation Type"): Gets aggregate full time of profiling nodes using the provided aggregation type.GetUniqueIdentifierByAggregationType(ProfilingNode: Record "Profiling Node"; ProfilingAggregationType: Enum "Profiling Aggregation Type"): Text: Constructs and returns a unique string (with respect to aggregation type) from the provided profiling node.
Plus 4 local procedures.
Called by
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 1926 “Profiling Chart Helper” (3 calls:
GetChartData → GetFullTimeAggregate,GetChartData → GetSelfTimeAggregate,GetChartData → GetUniqueIdentifierByAggregationType) - Page 24 “Performance Profiler” (2 calls:
UpdateControlProperties → IsInitialized,UpdateData → Initialize) - Page 1921 “Profiling Call Tree” (1 call:
UpdateData → GetFullTimeAggregate) - Page 1923 “Profiling Duration By Object” (1 call:
UpdateData → GetSelfTimeAggregate) - Page 1924 “Profiling Duration By Method” (1 call:
Initialize → GetSelfTimeAggregate)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Profiling Data Processor"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.