diff options
author | Daniel Lange <DLange@git.local> | 2021-01-11 20:43:27 +0100 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2021-01-11 20:43:27 +0100 |
commit | c55320e9e2a8916e911bcd39ab37b79e3a7d03b2 (patch) | |
tree | d6be9a09fdf7d6dc155de3429a70697ee2bb43b0 /darwin/DarwinProcess.h | |
parent | 65357c8c46154de4e4eca14075bfe5523bb5fc14 (diff) | |
download | debian_htop-c55320e9e2a8916e911bcd39ab37b79e3a7d03b2.tar.gz debian_htop-c55320e9e2a8916e911bcd39ab37b79e3a7d03b2.tar.bz2 debian_htop-c55320e9e2a8916e911bcd39ab37b79e3a7d03b2.zip |
New upstream version 3.0.5upstream/3.0.5
Diffstat (limited to 'darwin/DarwinProcess.h')
-rw-r--r-- | darwin/DarwinProcess.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/darwin/DarwinProcess.h b/darwin/DarwinProcess.h index 98897c9..f87dd18 100644 --- a/darwin/DarwinProcess.h +++ b/darwin/DarwinProcess.h @@ -19,10 +19,13 @@ typedef struct DarwinProcess_ { uint64_t utime; uint64_t stime; bool taskAccess; + bool translated; } DarwinProcess; extern const ProcessClass DarwinProcess_class; +extern const ProcessFieldData Process_fields[LAST_PROCESSFIELD]; + Process* DarwinProcess_new(const Settings* settings); void Process_delete(Object* cast); @@ -31,7 +34,7 @@ bool Process_isThread(const Process* this); void DarwinProcess_setFromKInfoProc(Process* proc, const struct kinfo_proc* ps, bool exists); -void DarwinProcess_setFromLibprocPidinfo(DarwinProcess* proc, DarwinProcessList* dpl); +void DarwinProcess_setFromLibprocPidinfo(DarwinProcess* proc, DarwinProcessList* dpl, double time_interval); /* * Scan threads for process state information. |