-
- Downloads
eventlog: Dump cost centre stack on each sample
With this change it is possible to reconstruct the timing portion of a `.prof` file after the fact. By logging the stacks at each time point a more precise executation trace of the program can be observed rather than all identical cost centres being identified in the report. There are two new events: 1. `EVENT_PROF_BEGIN` - emitted at the start of profiling to communicate the tick interval 2. `EVENT_PROF_SAMPLE_COST_CENTRE` - emitted on each tick to communicate the current call stack. Fixes #17322
Showing
- docs/users_guide/8.10.1-notes.rst 3 additions, 0 deletionsdocs/users_guide/8.10.1-notes.rst
- docs/users_guide/eventlog-formats.rst 30 additions, 0 deletionsdocs/users_guide/eventlog-formats.rst
- includes/rts/EventLogFormat.h 2 additions, 0 deletionsincludes/rts/EventLogFormat.h
- rts/ProfHeap.c 0 additions, 13 deletionsrts/ProfHeap.c
- rts/Profiling.c 19 additions, 1 deletionrts/Profiling.c
- rts/Proftimer.c 2 additions, 0 deletionsrts/Proftimer.c
- rts/Trace.c 16 additions, 0 deletionsrts/Trace.c
- rts/Trace.h 4 additions, 0 deletionsrts/Trace.h
- rts/eventlog/EventLog.c 48 additions, 0 deletionsrts/eventlog/EventLog.c
- rts/eventlog/EventLog.h 5 additions, 0 deletionsrts/eventlog/EventLog.h
Loading
Please register or sign in to comment