#include <glibtop_private.h>.

This commit is contained in:
Martin Baulig
1999-05-03 12:20:21 +00:00
parent f8adb23062
commit 664d24f258
5 changed files with 10 additions and 0 deletions

View File

@@ -28,6 +28,8 @@
#include <assert.h>
#include <sys/processor.h>
#include <glibtop_private.h>
static const unsigned long _glibtop_sysdeps_cpu =
(1L << GLIBTOP_CPU_TOTAL) + (1L << GLIBTOP_CPU_USER) +
(1L << GLIBTOP_CPU_SYS) + (1L << GLIBTOP_CPU_IDLE) +

View File

@@ -27,6 +27,8 @@
#include <assert.h>
#include <unistd.h>
#include <glibtop_private.h>
static const unsigned long _glibtop_sysdeps_mem_os_sysconf =
(1L << GLIBTOP_MEM_TOTAL);
static const unsigned long _glibtop_sysdeps_mem_os_kstat =

View File

@@ -27,6 +27,8 @@
#include <sys/types.h>
#include <sys/processor.h>
#include <glibtop_private.h>
/* We need to call this when kstat_chain_update() returns new KID.
* In that case all kstat pointers and data are invalid, so we
* need to reread everything. The condition shouldn't happen very

View File

@@ -24,6 +24,8 @@
#include <glibtop.h>
#include <glibtop/procsignal.h>
#include <glibtop_private.h>
static const unsigned long _glibtop_sysdeps_proc_signal =
(1L << GLIBTOP_PROC_SIGNAL_SIGNAL) + (1L << GLIBTOP_PROC_SIGNAL_BLOCKED);

View File

@@ -28,6 +28,8 @@
#include <assert.h>
#include <sys/sysinfo.h>
#include <glibtop_private.h>
static const unsigned long _glibtop_sysdeps_swap =
(1L << GLIBTOP_SWAP_TOTAL) + (1L << GLIBTOP_SWAP_USED) +
(1L << GLIBTOP_SWAP_FREE);