Commit f69b48a
committed
feat: add profiling header and setup for tracepoints
Switch profiler levels from enums to macros to preserve RAII.
Justification:
Handling the profiler level logic inside the ARM_COMPUTE_TRACE_EVENT
macro will introduce a nested "if" scope which will break RAII.
This behaviour will make the macro tracks the scope of the "if"
statement introduced in the macro instead of tracking the scope
of the fuction we want to track.
Using macros keeps the implementation simpler.
Partially Resolves: COMPMID-8330
Signed-off-by: Walid Ben Romdhane <[email protected]>
Change-Id: Ic85c2b098d614335e172fcdbe4b18b2243d55fbe
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/14825
Benchmark: Arm Jenkins <[email protected]>
Tested-by: Arm Jenkins <[email protected]>
Comments-Addressed: Arm Jenkins <[email protected]>
Reviewed-by: Gunes Bayir <[email protected]>1 parent 8703443 commit f69b48a
1 file changed
+12
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
46 | 43 | | |
47 | 44 | | |
48 | 45 | | |
| |||
0 commit comments