File: gpucom.h

package info (click to toggle)
atop 2.4.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,692 kB
  • sloc: ansic: 20,731; python: 253; sh: 220; makefile: 170
file content (18 lines) | stat: -rw-r--r-- 377 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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