sysdep_LINUX.c File Reference

System dependent resource gathering code for Linux. More...

Go to the source code of this file.

Defines

#define PAGE_TO_KBYTE_SHIFT   PAGE_SHIFT-10

Functions

int init_process_info_sysdep (void)
int get_process_info_sysdep (ProcInfo_T p)


Detailed Description

System dependent resource gathering code for Linux.

Author:
Jan-Henrik Haukeland, <hauk@tildeslash.com> , Christian Hopp <chopp@iei.tu-clausthal.de>
Version:
$Id: sysdep_LINUX.c,v 1.2 2003/02/11 21:27:40 martinp Exp $

Definition in file sysdep_LINUX.c.


Define Documentation

#define PAGE_TO_KBYTE_SHIFT   PAGE_SHIFT-10
 

Definition at line 73 of file sysdep_LINUX.c.

Referenced by get_process_info_sysdep().


Function Documentation

int get_process_info_sysdep ProcInfo_T    p
 

Definition at line 99 of file sysdep_LINUX.c.

References myprocinfo::cputime, myprocinfo::cputime_prev, myprocinfo::mem_kbyte, myprocinfo::mem_percent, PAGE_TO_KBYTE_SHIFT, myprocinfo::pid, PROCESS_ZOMBIE, read_proc_file(), myprocinfo::status_flag, and myprocinfo::time_prev.

int init_process_info_sysdep void   
 

Definition at line 77 of file sysdep_LINUX.c.