swap.h

来自「multiplataform real time Linux monitor」· C头文件 代码 · 共 42 行

H
42
字号
/* LiMon-Server|  Copyright (C) 2006 Marcelo Busico||  Author:  Marcelo Busico    marcelobusico@gmail.com||  This program is free software which I release under the GNU General Public|  License. You may redistribute and/or modify this program under the terms|  of that license as published by the Free Software Foundation; either|  version 2 of the License, or (at your option) any later version.||  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 General Public License for more details.  Version 2 is in the|  LICENSE.txt file in the top level directory of this distribution.| |  To get a copy of the GNU General Puplic License, write to the Free Software|  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA*//* Cabecera del Estado de la Memoria de Intercambio */#ifndef SWAP_H_#define SWAP_H_class EstadoIntercambio{private:	char cadenaEstadoTotal[1024];	char cadenaEstadoLibre[1024];public:	//Constructor por defecto	EstadoIntercambio();	//Devuelve Memoria de Intercambio Total en KB	long getTotal();	//Devuelve Memoria de Intercambio Usada en KB	long getUsada();	//Devuelve Memoria de Intercambio Libre en KB	long getLibre();};#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?