Codebase list atop / 12f14ff3-2ef0-43b4-9d86-36c8fb22ff49/main gpucom.h
12f14ff3-2ef0-43b4-9d86-36c8fb22ff49/main

Tree @12f14ff3-2ef0-43b4-9d86-36c8fb22ff49/main (Download .tar.gz)

gpucom.h @12f14ff3-2ef0-43b4-9d86-36c8fb22ff49/mainraw · history · blame

#ifndef	__GPUCOM__
#define	__GPUCOM__

#define APIVERSION	1

struct gpupidstat {
	long		pid;
	struct gpu	gpu;
};

int	gpud_init(void);
int	gpud_statrequest(void);
int	gpud_statresponse(int, struct pergpu *, struct gpupidstat **);

void	gpumergeproc(struct tstat      *, int,
                     struct tstat      *, int,
                     struct gpupidstat *, int);
#endif