Explorar el Código

test mytop

master
10195501441 hace 3 años
padre
commit
f085b3447f
Se han modificado 2 ficheros con 2 adiciones y 7 borrados
  1. +1
    -5
      yeeshell.c
  2. +1
    -2
      yeeshell.h

+ 1
- 5
yeeshell.c Ver fichero

@ -35,11 +35,7 @@ char *history[CMDLINE_HISTORY_MAX_QUANTITY];
int cmdline_amount = 0;
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;
unsigned int nr_procs, nr_tasks;
int main()

+ 1
- 2
yeeshell.h Ver fichero

@ -95,5 +95,4 @@ void get_procs();
void parse_dir();
void parse_file(pid_t pid);
void getkinfo();
void print_procs(struct proc *proc1, struct proc *proc2, int cputimemode);
u64_t cputicks(struct proc *p1, struct proc *p2, int timemode);
void print_procs(struct proc *proc1, struct proc *proc2, int cputimemode);

Cargando…
Cancelar
Guardar