Jim said I could just whack it.
This commit is contained in:
parent
9736b7be92
commit
b9d16a8641
1
top.c
1
top.c
@ -807,7 +807,6 @@ static void *alloc_r (void *q, unsigned numb)
|
|||||||
* as follows:
|
* as follows:
|
||||||
* cpus[0] thru cpus[n] == tics for each separate cpu
|
* cpus[0] thru cpus[n] == tics for each separate cpu
|
||||||
* cpus[Cpu_tot] == tics from the 1st /proc/stat line */
|
* cpus[Cpu_tot] == tics from the 1st /proc/stat line */
|
||||||
#include <fcntl.h>
|
|
||||||
static CPUS_t *refreshcpus (CPUS_t *cpus)
|
static CPUS_t *refreshcpus (CPUS_t *cpus)
|
||||||
{
|
{
|
||||||
static FILE *fp = NULL;
|
static FILE *fp = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user