Correct event counter documentation example

Change-Id: I74c41de8e4aacbd42d9e156983369eb76bec3367


[ROCm/rocm_smi_lib commit: 0468aa4971]
이 커밋은 다음에 포함됨:
Chris Freehill
2020-08-05 18:50:36 -05:00
부모 217b9b2aea
커밋 fc4d433877
+5 -2
파일 보기
@@ -2486,9 +2486,12 @@ rsmi_status_string(rsmi_status_t status, const char **status_string);
* *
* // Assuming RSMI_EVNT_GRP_XGMI is supported and there is at least 1 * // Assuming RSMI_EVNT_GRP_XGMI is supported and there is at least 1
* // counter available for RSMI_EVNT_GRP_XGMI on device dv_ind, create * // counter available for RSMI_EVNT_GRP_XGMI on device dv_ind, create
* // an event object and get the handle (rsmi_event_handle_t). * // an event object for an event of group RSMI_EVNT_GRP_XGMI (e.g.,
* // RSMI_EVNT_XGMI_0_BEATS_TX) and get the handle
* // (rsmi_event_handle_t).
* *
* ret = rsmi_dev_counter_create(dv_ind, RSMI_EVNT_GRP_XGMI, &evnt_handle); * ret = rsmi_dev_counter_create(dv_ind, RSMI_EVNT_XGMI_0_BEATS_TX,
* &evnt_handle);
* *
* // A program that generates the events of interest can be started * // A program that generates the events of interest can be started
* // immediately before or after starting the counters. * // immediately before or after starting the counters.