machine.h (38090) | machine.h (42447) |
---|---|
1/* 2 * This file defines the interface between top and the machine-dependent 3 * module. It is NOT machine dependent and should not need to be changed 4 * for any specific machine. 5 */ 6 7/* 8 * the statics struct is filled in by machine_init --- 18 unchanged lines hidden (view full) --- 27 int last_pid; 28 double load_avg[NUM_AVERAGES]; 29 int p_total; 30 int p_active; /* number of procs considered "active" */ 31 int *procstates; 32 int *cpustates; 33 int *memory; 34 int *swap; | 1/* 2 * This file defines the interface between top and the machine-dependent 3 * module. It is NOT machine dependent and should not need to be changed 4 * for any specific machine. 5 */ 6 7/* 8 * the statics struct is filled in by machine_init --- 18 unchanged lines hidden (view full) --- 27 int last_pid; 28 double load_avg[NUM_AVERAGES]; 29 int p_total; 30 int p_active; /* number of procs considered "active" */ 31 int *procstates; 32 int *cpustates; 33 int *memory; 34 int *swap; |
35 struct timeval boottime; |
|
35}; 36 37/* cpu_states is an array of percentages * 10. For example, 38 the (integer) value 105 is 10.5% (or .105). 39 */ 40 41/* 42 * the process_select struct tells get_process_info what processes we --- 19 unchanged lines hidden --- | 36}; 37 38/* cpu_states is an array of percentages * 10. For example, 39 the (integer) value 105 is 10.5% (or .105). 40 */ 41 42/* 43 * the process_select struct tells get_process_info what processes we --- 19 unchanged lines hidden --- |