Adam/bill cleanup (#209)

Co-authored-by: Bill(Shuzhou) Liu <shuzhou.liu@amd.com>
This commit is contained in:
Pryor, AdamandBill Liu authored and GitHub committed 2025-07-07 15:41:22 -05:00
1 parent 463d6b60d5
commit ca9d8c4bae
3 files changed
+95 -68

No files matched your search

@@ -81,11 +81,15 @@ class RdcRocpBase {
*/
rdc_status_t map_entity_to_profiler();
void init_rocp_if_not();
std::vector<rocprofiler_agent_v0_t> agents = {};
std::vector<std::shared_ptr<CounterSampler>> samplers = {};
std::map<rdc_field_t, const char*> field_to_metric = {};
std::map<uint32_t, uint32_t> entity_to_prof_map = {};
bool m_is_initialized = false;
// these fields must be divided by time passed
std::unordered_set<rdc_field_t> eval_fields = {
RDC_FI_PROF_EVAL_MEM_R_BW, RDC_FI_PROF_EVAL_MEM_W_BW,