From 5bb312993960adaa663701391a83f76b81edc60a Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Sun, 21 Dec 2025 16:57:44 +0900 Subject: created htop-vim/ --- .../.local/bin/htop-vim/darwin/DarwinProcessList.h | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 fedora/.local/bin/htop-vim/darwin/DarwinProcessList.h (limited to 'fedora/.local/bin/htop-vim/darwin/DarwinProcessList.h') diff --git a/fedora/.local/bin/htop-vim/darwin/DarwinProcessList.h b/fedora/.local/bin/htop-vim/darwin/DarwinProcessList.h new file mode 100644 index 0000000..393e656 --- /dev/null +++ b/fedora/.local/bin/htop-vim/darwin/DarwinProcessList.h @@ -0,0 +1,39 @@ +#ifndef HEADER_DarwinProcessList +#define HEADER_DarwinProcessList +/* +htop - DarwinProcessList.h +(C) 2014 Hisham H. Muhammad +Released under the GNU GPLv2+, see the COPYING file +in the source distribution for its full text. +*/ + +#include +#include + +#include "ProcessList.h" +#include "zfs/ZfsArcStats.h" + + +typedef struct DarwinProcessList_ { + ProcessList super; + + host_basic_info_data_t host_info; + vm_statistics_data_t vm_stats; + processor_cpu_load_info_t prev_load; + processor_cpu_load_info_t curr_load; + uint64_t kernel_threads; + uint64_t user_threads; + uint64_t global_diff; + + ZfsArcStats zfs; +} DarwinProcessList; + +ProcessList* ProcessList_new(UsersTable* usersTable, Hashtable* dynamicMeters, Hashtable* dynamicColumns, Hashtable* pidMatchList, uid_t userId); + +void ProcessList_delete(ProcessList* this); + +void ProcessList_goThroughEntries(ProcessList* super, bool pauseProcessUpdate); + +bool ProcessList_isCPUonline(const ProcessList* super, unsigned int id); + +#endif -- cgit v1.2.3