ff4ff35918
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
32 lines
724 B
C
32 lines
724 B
C
#ifndef HEADER_RedoxProcess
|
|
#define HEADER_RedoxProcess
|
|
/*
|
|
htop - RedoxProcess.h
|
|
(C) 2015 Hisham H. Muhammad
|
|
Released under the GNU GPLv2+, see the COPYING file
|
|
in the source distribution for its full text.
|
|
*/
|
|
|
|
#include "Machine.h"
|
|
#include "Process.h"
|
|
|
|
typedef struct RedoxProcess_
|
|
{
|
|
Process super;
|
|
unsigned long long last_time; // in hundreth
|
|
int last_nthread;
|
|
unsigned long long *time_cpus; // in hundreth
|
|
uint64_t last_update_duration; // in msec
|
|
uint64_t last_update; // in msec
|
|
} RedoxProcess;
|
|
|
|
extern const ProcessFieldData Process_fields[LAST_PROCESSFIELD];
|
|
|
|
Process *RedoxProcess_new(const Machine *host);
|
|
|
|
void Process_delete(Object *cast);
|
|
|
|
extern const ProcessClass RedoxProcess_class;
|
|
|
|
#endif
|