summaryrefslogtreecommitdiff
path: root/include/glibtop
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@gnome.org>2020-11-06 09:51:58 -0600
committerMichael Catanzaro <mcatanzaro@gnome.org>2020-11-06 09:51:58 -0600
commit2229253e11ae5c729a703f0c72e006f46746c592 (patch)
tree4600f2a3144f25a578138164f85ef91c70aecfc3 /include/glibtop
parente9da95977365731a8f921f2d23b943036bf8f3d5 (diff)
downloadlibgtop-2229253e11ae5c729a703f0c72e006f46746c592.tar.gz
Revert "Updated config and added reference"
This reverts commit e9da95977365731a8f921f2d23b943036bf8f3d5.
Diffstat (limited to 'include/glibtop')
-rw-r--r--include/glibtop/disk.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/glibtop/disk.h b/include/glibtop/disk.h
index e444d819..292924f6 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; /* 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;
+ 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;
};
void glibtop_get_disk (glibtop_disk *buf);