Add support to use the field name in rdci
In the rdci dmon and fieldgroup, now the fields can be specified
using either number id or the field name.
When the rdc is async fetching metrics, it will not report that fetch
as an error.
Change-Id: I81331e2c239af987181147be5ac0e29ba1617ab4
[ROCm/rdc commit: d30cb81fdb]
이 커밋은 다음에 포함됨:
1 부모
aa0a40f84d
커밋
0f8f345992
6 파일이 변경됨
+60
-12
검색과 일치하는 파일 없음
@@ -60,7 +60,9 @@ class RdcMetricFetcherImpl: public RdcMetricFetcher {
|
||||
uint64_t now();
|
||||
void get_ecc_error(uint32_t gpu_index,
|
||||
uint32_t field_id, rdc_field_value* value);
|
||||
void async_get_pcie_throughput(uint32_t gpu_index,
|
||||
|
||||
//!< return true if starting async_get
|
||||
bool async_get_pcie_throughput(uint32_t gpu_index,
|
||||
uint32_t field_id, rdc_field_value* value);
|
||||
void get_pcie_throughput(const RdcFieldKey& key);
|
||||
|
||||
|
||||
새 이슈에서 참조
사용자 차단