Revert "Revert "New API to retrieve disk stats in Linux""
This reverts commit 7e214414bf
.
This commit is contained in:
committed by
Robert Roth
parent
68b5269607
commit
a067db0569
@@ -23,6 +23,7 @@
|
||||
#define __GLIBTOP_UNION_H__
|
||||
|
||||
#include <glibtop/cpu.h>
|
||||
#include <glibtop/disk.h>
|
||||
#include <glibtop/mem.h>
|
||||
#include <glibtop/swap.h>
|
||||
#include <glibtop/uptime.h>
|
||||
@@ -60,6 +61,7 @@ typedef union _glibtop_union glibtop_union;
|
||||
union _glibtop_union
|
||||
{
|
||||
glibtop_cpu cpu;
|
||||
glibtop_disk disk;
|
||||
glibtop_mem mem;
|
||||
glibtop_swap swap;
|
||||
glibtop_uptime uptime;
|
||||
|
Reference in New Issue
Block a user