* Add support for file system read and write counting (needed for the disk
* fsusage.c: * Add support for file system read and write counting (needed for the disk load feature of the multiload applet).
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2005-02-28 Benoît Dejean <TazForEver@dlfp.org>
|
||||||
|
|
||||||
|
* fsusage.c: * Add support for file system read and write counting
|
||||||
|
(needed for the disk load feature of the multiload applet).
|
||||||
|
|
||||||
2005-02-23 Benoît Dejean <TazForEver@dlfp.org>
|
2005-02-23 Benoît Dejean <TazForEver@dlfp.org>
|
||||||
|
|
||||||
* fsusage.c: (glibtop_get_fsusage_s): Correct file system size calculations.
|
* fsusage.c: (glibtop_get_fsusage_s): Correct file system size calculations.
|
||||||
|
@@ -140,6 +140,15 @@ _glibtop_get_fsusage_read_write(glibtop *server,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__FreeBSD__)
|
||||||
|
void G_GNUC_INTERNAL
|
||||||
|
_glibtop_freebsd_get_fsusage_read_write(glibtop *server,
|
||||||
|
glibtop_fsusage *buf,
|
||||||
|
const char *path);
|
||||||
|
|
||||||
|
#define _glibtop_get_fsusage_read_write(S, B, P) \
|
||||||
|
_glibtop_freebsd_get_fsusage_read_write(S, B, P)
|
||||||
|
|
||||||
#else /* default fallback */
|
#else /* default fallback */
|
||||||
#warning glibtop_get_fsusage .read .write are not implemented.
|
#warning glibtop_get_fsusage .read .write are not implemented.
|
||||||
static inline void
|
static inline void
|
||||||
|
Reference in New Issue
Block a user