diff options
author | James Dominic P. Guana <guana.histark@gmail.com> | 2020-05-29 13:42:48 +0800 |
---|---|---|
committer | Robert Roth <robert.roth.off@gmail.com> | 2020-11-04 13:38:03 +0000 |
commit | e9da95977365731a8f921f2d23b943036bf8f3d5 (patch) | |
tree | 89395404f5006a3f485b3bbbb15474670efe23fb /include | |
parent | 7396970afe2290488fd072612a650353dd13a16d (diff) | |
download | libgtop-e9da95977365731a8f921f2d23b943036bf8f3d5.tar.gz |
Updated config and added reference
Diffstat (limited to 'include')
-rw-r--r-- | include/glibtop/disk.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/glibtop/disk.h b/include/glibtop/disk.h index 292924f6..e444d819 100644 --- a/include/glibtop/disk.h +++ b/include/glibtop/disk.h @@ -28,17 +28,17 @@ G_BEGIN_DECLS #define GLIBTOP_XDISK_SECTORS_READ 0 -#define GLIBTOP_XDISK_TIME_READ 1 +#define GLIBTOP_XDISK_TIME_READ 1 #define GLIBTOP_XDISK_SECTORS_WRITE 2 #define GLIBTOP_XDISK_TIME_WRITE 3 -#define GLIBTOP_MAX_DISK 4 +#define GLIBTOP_MAX_DISK 4 /* Nobody should really be using more than 4 disk. Yes we are :) Nobody should really be using more than 32 disk. */ -#define GLIBTOP_NDISK 1024 +#define GLIBTOP_NDISK 1024 typedef struct _glibtop_disk glibtop_disk; @@ -54,12 +54,12 @@ typedef struct _partition_info partition_info; struct _glibtop_disk { - guint64 flags; - guint64 xdisk_sectors_read [GLIBTOP_NDISK]; /* GLIBTOP_XDISK_SECTORS_READ */ - guint64 xdisk_time_read [GLIBTOP_NDISK]; /* GLIBTOP_XDISK_TIME_READ */ - guint64 xdisk_sectors_write [GLIBTOP_NDISK]; /* GLIBTOP_XDISK_SECTORS_WRITE */ - guint64 xdisk_time_write [GLIBTOP_NDISK]; /* GLIBTOP_XDISK_TIME_WRITE */ - guint64 xdisk_flags; + guint64 flags; /* NOT USED YET */ + guint64 xdisk_sectors_read [GLIBTOP_NDISK]; /* GLIBTOP_XDISK_SECTORS_READ */ + guint64 xdisk_time_read [GLIBTOP_NDISK]; /* GLIBTOP_XDISK_TIME_READ */ + guint64 xdisk_sectors_write [GLIBTOP_NDISK]; /* GLIBTOP_XDISK_SECTORS_WRITE */ + guint64 xdisk_time_write [GLIBTOP_NDISK]; /* GLIBTOP_XDISK_TIME_WRITE */ + guint64 xdisk_flags; }; void glibtop_get_disk (glibtop_disk *buf); |