comparison src/getloadavg.c @ 203:850242ba4a81 r20-3b28

Import from CVS: tag r20-3b28
author cvs
date Mon, 13 Aug 2007 10:02:21 +0200
parents 3d6bfa290dbd
children 41ff10fd062f
comparison
equal deleted inserted replaced
202:61eefc8fc970 203:850242ba4a81
696 We only know how to get the 1-minute average for this system. */ 696 We only know how to get the 1-minute average for this system. */
697 697
698 struct proc_summary proc_sum_data; 698 struct proc_summary proc_sum_data;
699 struct stat_descr proc_info; 699 struct stat_descr proc_info;
700 double load; 700 double load;
701 register unsigned int i, j; 701 REGISTER unsigned int i, j;
702 702
703 if (cpus == 0) 703 if (cpus == 0)
704 { 704 {
705 register unsigned int c, i; 705 REGISTER unsigned int c, i;
706 struct cpu_config conf; 706 struct cpu_config conf;
707 struct stat_descr desc; 707 struct stat_descr desc;
708 708
709 desc.sd_next = 0; 709 desc.sd_next = 0;
710 desc.sd_subsys = SUBSYS_CPU; 710 desc.sd_subsys = SUBSYS_CPU;