summaryrefslogtreecommitdiff
path: root/fedora/.local/bin/htop-vim/pcp/PCPDynamicMeter.h
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-04-28 15:42:50 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-04-28 15:42:50 +0900
commitae78dbbff81196f1d7bc8fabf84d05e6b9f3ca03 (patch)
treefdc69ee3e2772aa4db7e8efe4bd30d101c7f82ac /fedora/.local/bin/htop-vim/pcp/PCPDynamicMeter.h
parent06ad645351572c0e7188c52028998384d718df2e (diff)
updatesHEADmaster
Diffstat (limited to 'fedora/.local/bin/htop-vim/pcp/PCPDynamicMeter.h')
-rw-r--r--fedora/.local/bin/htop-vim/pcp/PCPDynamicMeter.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/fedora/.local/bin/htop-vim/pcp/PCPDynamicMeter.h b/fedora/.local/bin/htop-vim/pcp/PCPDynamicMeter.h
deleted file mode 100644
index 0e5ddd2..0000000
--- a/fedora/.local/bin/htop-vim/pcp/PCPDynamicMeter.h
+++ /dev/null
@@ -1,44 +0,0 @@
-#ifndef HEADER_PCPDynamicMeter
-#define HEADER_PCPDynamicMeter
-
-#include <stddef.h>
-
-#include "CRT.h"
-#include "DynamicMeter.h"
-#include "Hashtable.h"
-#include "Meter.h"
-#include "RichString.h"
-
-
-typedef struct PCPDynamicMetric_ {
- size_t id; /* index into metric array */
- ColorElements color;
- char* name; /* derived metric name */
- char* label;
- char* suffix;
-} PCPDynamicMetric;
-
-typedef struct PCPDynamicMeter_ {
- DynamicMeter super;
- PCPDynamicMetric* metrics;
- size_t totalMetrics;
-} PCPDynamicMeter;
-
-typedef struct PCPDynamicMeters_ {
- Hashtable* table;
- size_t count; /* count of dynamic meters discovered by scan */
- size_t offset; /* start offset into the Platform metric array */
- size_t cursor; /* identifier allocator for each new metric used */
-} PCPDynamicMeters;
-
-void PCPDynamicMeters_init(PCPDynamicMeters* meters);
-
-void PCPDynamicMeters_done(Hashtable* table);
-
-void PCPDynamicMeter_enable(PCPDynamicMeter* this);
-
-void PCPDynamicMeter_updateValues(PCPDynamicMeter* this, Meter* meter);
-
-void PCPDynamicMeter_display(PCPDynamicMeter* this, const Meter* meter, RichString* out);
-
-#endif