Files
RedBear-OS/recipes/wip/monitors/htop/source/GPUMeter.h
T
vasilito ff4ff35918 feat: track all source trees in git — full fork offline-first model
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.
2026-05-14 10:55:53 +01:00

28 lines
533 B
C

#ifndef HEADER_GPUMeter
#define HEADER_GPUMeter
/*
htop - GPUMeter.h
(C) 2023 htop dev team
Released under the GNU GPLv2+, see the COPYING file
in the source distribution for its full text.
*/
#include <stdbool.h>
#include "Meter.h"
struct GPUMeterEngineData {
const char* key; /* owned by LinuxMachine */
unsigned long long int timeDiff;
double percentage;
};
extern struct GPUMeterEngineData GPUMeter_engineData[4];
extern const MeterClass GPUMeter_class;
bool GPUMeter_active(void);
#endif /* HEADER_GPUMeter */