28 lines
866 B
C
28 lines
866 B
C
|
/* vmstat.h - Header file: memory usage */
|
||
|
/*
|
||
|
* Copyright (c) 2003, by: Fabian Frederick
|
||
|
* All rights reserved. fabian.frederick@gmx.fr
|
||
|
*
|
||
|
*
|
||
|
* This file may be used subject to the terms and conditions of the
|
||
|
* GNU Library General Public License Version 2, or any later version
|
||
|
* at your option, as published by the Free Software Foundation.
|
||
|
* This program is distributed in the hope that it will be useful,
|
||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
* GNU Library General Public License for more details.
|
||
|
*
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
#ifndef _IVMstat
|
||
|
#define _IVMstat
|
||
|
unsigned long dataUnit=1024;
|
||
|
char szDataUnit [16];
|
||
|
#define UNIT_k 1000
|
||
|
#define UNIT_K 1024
|
||
|
#define UNIT_m 1000000
|
||
|
#define UNIT_M 1048576
|
||
|
|
||
|
#endif /* _IVMstat */
|