logging lib

This commit is contained in:
Drath
2025-10-03 16:57:38 +02:00
parent 31f2c8bf7c
commit 7e7d8d2aa1
12 changed files with 80 additions and 48 deletions

View File

@@ -4,12 +4,12 @@
#include <cstdint>
#include <fstream>
#include <gpu_metrics.hpp>
#include <print>
#include <log.hpp>
#include <string>
#include <utils.hpp>
#define REL_METRICS_PATH "/../../gpu_metrics" // gpu_metrics path relative to hwmon path
#define MAX_METRICS_LENGTH 512 // length of the metrics buffer
#define REL_METRICS_PATH "/../../gpu_metrics" // gpu_metrics path relative to hwmon path
#define MAX_METRICS_LENGTH 512 // length of the metrics buffer
/* clean abstraction for gpu_metrics or metrics in filesystem in sane units */