Add rocprofiler_load_counter_definition (#1193)
Adds rocprofiler_load_counter_definition. This function allows a counter definition file to be supplied to rocprofiler-sdk directly. Takes in a string containing the counter definition YAML, its size (in bytes), and a flag value to state whether this is an append operation or not.
---------
Co-authored-by: Benjamin Welton <ben@amd.com>
Co-authored-by: Jonathan R. Madsen <jrmadsen@users.noreply.github.com>
Co-authored-by: usrihari123 <srihari.u@amd.com>
[ROCm/rocprofiler-sdk commit: 7ddc72ad45]
This commit is contained in:
@@ -56,9 +56,9 @@ struct json_output
|
||||
return (*archive)(std::forward<Args>(args)...);
|
||||
}
|
||||
|
||||
decltype(auto) startNode() { return archive->startNode(); }
|
||||
decltype(auto) finishNode() { return archive->finishNode(); }
|
||||
decltype(auto) makeArray() { return archive->makeArray(); }
|
||||
void startNode() { archive->startNode(); }
|
||||
void finishNode() { archive->finishNode(); }
|
||||
void makeArray() { archive->makeArray(); }
|
||||
decltype(auto) setNextName(const char* name) { archive->setNextName(name); }
|
||||
|
||||
void start_process();
|
||||
|
||||
Reference in New Issue
Block a user