diff options
author | Benoît Dejean <bdejean@src.gnome.org> | 2005-07-22 19:20:39 +0000 |
---|---|---|
committer | Benoît Dejean <bdejean@src.gnome.org> | 2005-07-22 19:20:39 +0000 |
commit | 4efcfb2cb384e545cf9af78ab79aa4be4fa5efb1 (patch) | |
tree | d110a9634d5304ff9d1ee6ea6cbf31dacc46f641 /sysdeps/linux/glibtop_private.h | |
parent | 59da1618b07eddabecb3acda453fa5c8a7e887a4 (diff) | |
download | libgtop-4efcfb2cb384e545cf9af78ab79aa4be4fa5efb1.tar.gz |
Cached getpagesize().
* glibtop_private.c: (get_page_size):
* glibtop_private.h:
* procmem.c: (glibtop_get_proc_mem_s):
* procsegment.c: (glibtop_get_proc_segment_s):
Cached getpagesize().
Diffstat (limited to 'sysdeps/linux/glibtop_private.h')
-rw-r--r-- | sysdeps/linux/glibtop_private.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/linux/glibtop_private.h b/sysdeps/linux/glibtop_private.h index a207d7d4..ac22af7b 100644 --- a/sysdeps/linux/glibtop_private.h +++ b/sysdeps/linux/glibtop_private.h @@ -117,6 +117,10 @@ unsigned long get_boot_time(glibtop *server) G_GNUC_INTERNAL; +size_t +get_page_size(void) G_GNUC_INTERNAL; + + G_END_DECLS #endif /* __LINUX__GLIBTOP_PRIVATE_H__ */ |