aboutsummaryrefslogtreecommitdiffstats
path: root/pcp/InDomTable.h
blob: f44a39f649aa167bc9ad580f8476fae02e73dc29 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#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 <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

© 2014-2024 Faster IT GmbH | imprint | privacy policy