|
@ -35,6 +35,10 @@ char *history[CMDLINE_HISTORY_MAX_QUANTITY]; |
|
|
int cmdline_amount = 0; |
|
|
int cmdline_amount = 0; |
|
|
|
|
|
|
|
|
struct proc *proc = NULL, *prev_proc = NULL; |
|
|
struct proc *proc = NULL, *prev_proc = NULL; |
|
|
|
|
|
static inline u64_t make64(unsigned long lo, unsigned long hi) |
|
|
|
|
|
{ |
|
|
|
|
|
return ((u64_t)hi << 32) | (u64_t)lo; |
|
|
|
|
|
} |
|
|
int nr_total = 0; |
|
|
int nr_total = 0; |
|
|
unsigned int nr_procs, nr_tasks; |
|
|
unsigned int nr_procs, nr_tasks; |
|
|
|
|
|
|
|
@ -695,9 +699,4 @@ u64_t cputicks(struct proc *p1, struct proc *p2, int timemode) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
return t; |
|
|
return t; |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
static inline u64_t make64(unsigned long lo, unsigned long hi) |
|
|
|
|
|
{ |
|
|
|
|
|
return ((u64_t)hi << 32) | (u64_t)lo; |
|
|
|
|
|
} |
|
|
} |