--- projects/libstatgrab/docs/sg_get_page_stats.xml 2004/03/11 17:35:24 1.3 +++ projects/libstatgrab/docs/sg_get_page_stats.xml 2004/05/02 17:21:35 1.5 @@ -3,56 +3,56 @@ - + - $Date: 2004/03/11 17:35:24 $ - $Id: sg_get_page_stats.xml,v 1.3 2004/03/11 17:35:24 tdb Exp $ + $Date: 2004/05/02 17:21:35 $ + $Id: sg_get_page_stats.xml,v 1.5 2004/05/02 17:21:35 tdb Exp $ - + - get_page_stats + sg_get_page_stats 3 i-scream - + - get_page_stats - get_page_stats_diff + sg_get_page_stats + sg_get_page_stats_diff get paging statistics - + #include <statgrab.h> - page_stat_t *get_page_stats + sg_page_stats *sg_get_page_stats - page_stat_t *get_page_stats_diff + sg_page_stats *sg_get_page_stats_diff - + Description - get_page_stats and - get_page_stats_diff both return a pointer to - a static buffer of type page_stat_t. + sg_get_page_stats and + sg_get_page_stats_diff both return a pointer to + a static buffer of type sg_page_stats. - get_page_stats will return the number of + sg_get_page_stats will return the number of pages the system has paged in and out since bootup. - get_page_stats_diff will return the + sg_get_page_stats_diff will return the difference since last time it was called. If it has not been called before, it will return - get_page_stats. + sg_get_page_stats. - + Return Values @@ -61,7 +61,7 @@ typedef struct{ long long pages_pagein; long long pages_pageout; time_t systime; -}page_stat_t; +}sg_page_stats; @@ -120,10 +120,10 @@ typedef struct{ - + Website - +