Disable bulk fetch. Add environment variable to enable it

RDC can optimize by bulk fetching multiple metrics using a single
rocm_smi call. However, currently this is not completely supported in
all ASIC generations. By default disable this for now.

Set environment variable RDC_BULK_FETCH_ENABLED=TRUE to enable
RDC bulk fetch.

BUG: SWDEV-289316

Change-Id: Ibb55514f198356dccf5f47bb0fd2d53c17acb251
이 커밋은 다음에 포함됨:
Bill(Shuzhou) Liu가 2021-06-09 15:53:17 -04:00를 커밋했습니다
1 부모 eab3625d65
커밋 673f5a4ee1
3 파일이 변경됨
+21 -8

검색과 일치하는 파일 없음

+1
파일 보기
@@ -70,6 +70,7 @@ class RdcSmiLib : public RdcTelemetry, public RdcDiagnostic {
private:
RdcMetricFetcherPtr metric_fetcher_;
bool bulk_fetch_enabled_;
};
typedef std::shared_ptr<RdcSmiLib> RdcSmiLibPtr;