Track process uptime
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
#ifndef SHARE_SYSDEFS_PROC_H_
|
||||
#define SHARE_SYSDEFS_PROC_H_
|
||||
|
||||
#include "time.h"
|
||||
|
||||
#define PROC_ARG_MAX 128
|
||||
|
||||
typedef struct {
|
||||
@ -8,6 +10,7 @@ typedef struct {
|
||||
char name[0x100];
|
||||
uint8_t state;
|
||||
size_t usemem;
|
||||
Time time;
|
||||
} ProcStat;
|
||||
|
||||
typedef uint64_t PID_t;
|
||||
|
||||
Reference in New Issue
Block a user