You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
808 B
36 lines
808 B
#ifndef HEADER_InDomTable |
|
#define HEADER_InDomTable |
|
/* |
|
htop - InDomTable.h |
|
(C) 2023 htop dev team |
|
(C) 2022-2023 Sohaib Mohammed |
|
Released under the GNU GPLv2+, see the COPYING file |
|
in the source distribution for its full text. |
|
*/ |
|
|
|
#include "config.h" // IWYU pragma: keep |
|
|
|
#include <stdbool.h> |
|
#include <sys/types.h> |
|
|
|
#include "Platform.h" |
|
#include "Table.h" |
|
|
|
|
|
typedef struct InDomTable_ { |
|
Table super; |
|
pmInDom id; /* shared by metrics in the table */ |
|
unsigned int metricKey; /* representative metric using this indom */ |
|
} InDomTable; |
|
|
|
extern const TableClass InDomTable_class; |
|
|
|
InDomTable* InDomTable_new(Machine* host, pmInDom indom, int metricKey); |
|
|
|
void InDomTable_done(InDomTable* this); |
|
|
|
RowField RowField_keyAt(const Settings* settings, int at); |
|
|
|
void InDomTable_scan(Table* super); |
|
|
|
#endif
|
|
|