Add event notification support and rdci timestamps

Also:
* print header line every 50 line on output
* print events that are being listened for with header
* cpplint clean-up

Change-Id: Ic049eb79156a9528b556e56f0fa43e1344f898cc
Этот коммит содержится в:
Chris Freehill committed 2020-11-22 07:10:39 -05:00
1 родитель 105675aeeb
Коммит b278cd379b
32 files changed
+766 -109

No files matched your search

+4
Просмотреть файл
@@ -77,6 +77,10 @@ class rdc_field_t(c_int):
RDC_EVNT_XGMI_1_BEATS_TX = 1007
RDC_EVNT_XGMI_0_THRPUT = 1500
RDC_EVNT_XGMI_1_THRPUT = 1501
RDC_EVNT_NOTIF_VMFAULT = 2000
RDC_EVNT_NOTIF_THERMAL_THROTTLE = 2001
RDC_EVNT_NOTIF_PRE_RESET = 2002
RDC_EVNT_NOTIF_POST_RESET = 2003
rdc_handle_t = c_void_p
rdc_gpu_group_t = c_uint32