Browse Source

test mytop

master
10195501441 3 years ago
parent
commit
c590f9fdf4
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      yeeshell.h

+ 4
- 0
yeeshell.h View File

@ -41,6 +41,10 @@ const char *cputimenames[] = {"user", "ipc", "kernelcall"};
#define TC_BUFFER 1024
#define TC_STRINGS 200
#define _ENDPOINT_P(e) ((((e) + 1023) % (1023 + ((endpoint_t)0x8ace) + 1)) - 1023)
unsigned int nr_procs, nr_tasks;
#define SLOT_NR(e) (_ENDPOINT_P(e) + nr_tasks)
struct proc
{
int p_flags;

Loading…
Cancel
Save