--- projects/libstatgrab/docs/sg_get_load_stats.xml 2004/05/02 09:35:15 1.4 +++ projects/libstatgrab/docs/sg_get_load_stats.xml 2004/05/02 17:21:35 1.5 @@ -3,60 +3,60 @@ - + - $Date: 2004/05/02 09:35:15 $ - $Id: sg_get_load_stats.xml,v 1.4 2004/05/02 09:35:15 tdb Exp $ + $Date: 2004/05/02 17:21:35 $ + $Id: sg_get_load_stats.xml,v 1.5 2004/05/02 17:21:35 tdb Exp $ - + - get_load_stats + sg_get_load_stats 3 i-scream - + - get_load_stats + sg_get_load_stats get system load - + #include <statgrab.h> - load_stat_t *get_load_stats + sg_load_stats *sg_get_load_stats - + Description This call returns a pointer to a static buffer of - load_stat_t. + sg_load_stats. On most systems this function is just a wrapper to the getloadavg system call. - + Return Values The structure returned is of type - load_stat_t. + sg_load_stats. typedef struct{ - double min1; - double min5; - double min15; -}load_stat_t; + double min1; + double min5; + double min15; +}sg_load_stats; @@ -99,10 +99,10 @@ typedef struct{ - + Website - +