repo.or.cz
/
dockapps.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
wmbattery: `make distclean` fixes.
[dockapps.git]
/
wmmemload
/
src
/
mem.h
blob
41eac869ae6f722e9a5e2381afd9d5f6b27e4a6d
1
/*
2
* mem.h - module to get memory/swap usages in percent
3
*
4
* Copyright (c) 2001 Seiichi SATO <ssato@sh.rim.or.jp>
5
*
6
* licensed under the GPL
7
*/
8
9
struct
mem_options
{
10
int
ignore_buffers
;
11
int
ignore_cached
;
12
int
ignore_wired
;
13
};
14
15
void
mem_init
(
void
);
16
void
mem_getusage
(
int
*
per_mem
,
int
*
per_swap
,
const struct
mem_options
*
opts
);