Skip to content

Commit 8703443

Browse files
committed
feat: add profiling header and setup for tracepoints
Added profiler category and level to header file. Partially Resolves: COMPMID-8330 Signed-off-by: Walid Ben Romdhane <[email protected]> Change-Id: I3b78046d573749ad79cd9c47ee1909f9b0496ed6 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/14799 Reviewed-by: Gunes Bayir <[email protected]> Comments-Addressed: Arm Jenkins <[email protected]> Tested-by: Arm Jenkins <[email protected]> Benchmark: Arm Jenkins <[email protected]>
1 parent b75bd27 commit 8703443

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

src/common/utils/profile/acl_profile.h

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,25 @@
2525
#ifndef ACL_SRC_COMMON_UTILS_PROFILE_ACL_PROFILE_H
2626
#define ACL_SRC_COMMON_UTILS_PROFILE_ACL_PROFILE_H
2727

28+
// Define ACL profile categories
29+
#define PROF_CAT_NONE "NONE"
30+
#define PROF_CAT_CPU "CPU"
31+
#define PROF_CAT_NEON "NEON"
32+
#define PROF_CAT_SVE "SVE"
33+
#define PROF_CAT_SME "SME"
34+
#define PROF_CAT_GPU "GPU"
35+
#define PROF_CAT_MEMORY "MEMORY"
36+
#define PROF_CAT_RUNTIME "RUNTIME"
37+
#define PROF_CAT_SCHEDULER "SCHEDULER"
38+
39+
// Define ACL profile levels
40+
enum class ProfileLevel
41+
{
42+
L0 = 0,
43+
L1 = 1,
44+
L2 = 2
45+
};
46+
2847
#define ARM_COMPUTE_TRACE_EVENT(category, level, name) \
2948
(void)category; \
3049
(void)name; \

0 commit comments

Comments
 (0)