Changed indentation (-bad -br -ce -i4):
tab-width: 8; indent-tabs-mode: t; c-basic-offset: 4
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 4 -*- */
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
/* Copyright (C) 1998-99 Martin Baulig
|
||||
@@ -19,7 +21,7 @@
|
||||
along with LibGTop; see the file COPYING. If not, write to the
|
||||
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
*/
|
||||
|
||||
#include <glibtop.h>
|
||||
#include <glibtop/procmem.h>
|
||||
@@ -31,34 +33,34 @@
|
||||
#define GLIBTOP_PROC_MEM_RSS 4
|
||||
#define GLIBTOP_PROC_MEM_RSS_RLIM 5
|
||||
|
||||
const char *glibtop_names_proc_mem [GLIBTOP_MAX_PROC_MEM] =
|
||||
const char *glibtop_names_proc_mem[GLIBTOP_MAX_PROC_MEM] =
|
||||
{
|
||||
"size", "vsize", "resident", "share", "rss", "rss_rlim"
|
||||
"size", "vsize", "resident", "share", "rss", "rss_rlim"
|
||||
};
|
||||
|
||||
const unsigned glibtop_types_proc_mem [GLIBTOP_MAX_PROC_MEM] =
|
||||
const unsigned glibtop_types_proc_mem[GLIBTOP_MAX_PROC_MEM] =
|
||||
{
|
||||
GLIBTOP_TYPE_LONG, GLIBTOP_TYPE_LONG, GLIBTOP_TYPE_LONG,
|
||||
GLIBTOP_TYPE_LONG, GLIBTOP_TYPE_LONG, GLIBTOP_TYPE_LONG
|
||||
GLIBTOP_TYPE_LONG, GLIBTOP_TYPE_LONG, GLIBTOP_TYPE_LONG,
|
||||
GLIBTOP_TYPE_LONG, GLIBTOP_TYPE_LONG, GLIBTOP_TYPE_LONG
|
||||
};
|
||||
|
||||
const char *glibtop_labels_proc_mem [GLIBTOP_MAX_PROC_MEM] =
|
||||
const char *glibtop_labels_proc_mem[GLIBTOP_MAX_PROC_MEM] =
|
||||
{
|
||||
N_("Size"), N_("Virtual"), N_("Resident"), N_("Share"),
|
||||
N_("Resident Set Size"), N_("Resident Set Size Limit")
|
||||
N_ ("Size"), N_ ("Virtual"), N_ ("Resident"), N_ ("Share"),
|
||||
N_ ("Resident Set Size"), N_ ("Resident Set Size Limit")
|
||||
};
|
||||
|
||||
const char *glibtop_descriptions_proc_mem [GLIBTOP_MAX_PROC_MEM] =
|
||||
const char *glibtop_descriptions_proc_mem[GLIBTOP_MAX_PROC_MEM] =
|
||||
{
|
||||
N_("Total # of pages of memory"),
|
||||
N_("Number of pages of virtual memory"),
|
||||
N_("Number of residnet set (non-swapped) pages"),
|
||||
N_("Number of pages of shared (mmap'd) memory"),
|
||||
N_("Number of pages the process has in real memory, minus 3 "
|
||||
"for administrative purposes. This is just the pages which "
|
||||
"count towards text, data, or stack space. This does not "
|
||||
"include pages which have not been demand-loaded in, or which "
|
||||
"are swapped out."),
|
||||
N_("Current limit in bytes on the rss of the process "
|
||||
"(usually 2,147,483,647).")
|
||||
N_ ("Total # of pages of memory"),
|
||||
N_ ("Number of pages of virtual memory"),
|
||||
N_ ("Number of residnet set (non-swapped) pages"),
|
||||
N_ ("Number of pages of shared (mmap'd) memory"),
|
||||
N_ ("Number of pages the process has in real memory, minus 3 "
|
||||
"for administrative purposes. This is just the pages which "
|
||||
"count towards text, data, or stack space. This does not "
|
||||
"include pages which have not been demand-loaded in, or which "
|
||||
"are swapped out."),
|
||||
N_ ("Current limit in bytes on the rss of the process "
|
||||
"(usually 2,147,483,647).")
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user