@@ -49,7 +49,6 @@ extern "C" {
4949#include "ctrl/ctrl0000/ctrl0000gpuacct.h"
5050#include "ctrl/ctrl0000/ctrl0000gpu.h" // NV0000_CTRL_GPU_MAX_ATTACHED_GPUS
5151#include "ctrl/ctrl2080/ctrl2080perf.h" // NV2080_CTRL_PERF_GET_GPUMON_PERFMON_UTIL_SAMPLES_V2_PARAMS
52- #include "rmapi/client.h"
5352
5453typedef struct TMR_EVENT TMR_EVENT ;
5554
@@ -75,7 +74,6 @@ typedef struct
7574{
7675 NvU32 procId ; // Pid of the process.
7776 NvU32 procType ; // Type of the process.
78- struct RmClient * pClient ; // Process' RmClient.
7977 NvU32 gpuUtil ; // Process's average GR engine utilization.
8078 NvU64 sumUtil ; // Running sum of process's GR engine utilization.
8179 NvU32 fbUtil ; // Process's average FB bandwidth utilization.
@@ -242,15 +240,15 @@ static inline NV_STATUS gpuacctClearAccountingData(struct GpuAccounting *arg1, N
242240#define gpuacctClearAccountingData (arg1 , arg2 , arg3 ) gpuacctClearAccountingData_IMPL(arg1, arg2, arg3)
243241#endif //__nvoc_gpu_acct_h_disabled
244242
245- NV_STATUS gpuacctStartGpuAccounting_IMPL (struct GpuAccounting * arg1 , NvU32 arg2 , NvU32 arg3 , NvU32 arg4 , struct RmClient * arg5 );
243+ NV_STATUS gpuacctStartGpuAccounting_IMPL (struct GpuAccounting * arg1 , NvU32 arg2 , NvU32 arg3 , NvU32 arg4 );
246244
247245#ifdef __nvoc_gpu_acct_h_disabled
248- static inline NV_STATUS gpuacctStartGpuAccounting (struct GpuAccounting * arg1 , NvU32 arg2 , NvU32 arg3 , NvU32 arg4 , struct RmClient * arg5 ) {
246+ static inline NV_STATUS gpuacctStartGpuAccounting (struct GpuAccounting * arg1 , NvU32 arg2 , NvU32 arg3 , NvU32 arg4 ) {
249247 NV_ASSERT_FAILED_PRECOMP ("GpuAccounting was disabled!" );
250248 return NV_ERR_NOT_SUPPORTED ;
251249}
252250#else //__nvoc_gpu_acct_h_disabled
253- #define gpuacctStartGpuAccounting (arg1 , arg2 , arg3 , arg4 , arg5 ) gpuacctStartGpuAccounting_IMPL(arg1, arg2, arg3, arg4, arg5 )
251+ #define gpuacctStartGpuAccounting (arg1 , arg2 , arg3 , arg4 ) gpuacctStartGpuAccounting_IMPL(arg1, arg2, arg3, arg4)
254252#endif //__nvoc_gpu_acct_h_disabled
255253
256254NV_STATUS gpuacctStopGpuAccounting_IMPL (struct GpuAccounting * arg1 , NvU32 arg2 , NvU32 arg3 , NvU32 arg4 );
0 commit comments