Skip to content

Commit 23fc902

Browse files
committed
Add rocm.counters option for event-trace
1 parent e785cfe commit 23fc902

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/caliper/controllers/controllers.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,12 @@ const char* event_trace_spec = R"json(
8484
"type": "bool",
8585
"services": [ "roctracer" ],
8686
"config": { "CALI_ROCTRACER_SNAPSHOT_TIMESTAMPS": "true" }
87+
},{
88+
"name": "rocm.counters",
89+
"description": "Record ROCm counters through rocprofiler-sdk",
90+
"type": "string",
91+
"services": [ "rocprofiler" ],
92+
"config": { "CALI_ROCPROFILER_COUNTERS": "{}" }
8793
},{
8894
"name": "umpire.allocators",
8995
"description": "Umpire per-allocator allocation statistics",

0 commit comments

Comments
 (0)