benchmark_toolbox: memtester

This commit is contained in:
souldbminersmwc
2026-06-11 18:56:01 -04:00
parent 2fdb0ee492
commit 73fccf339f
8 changed files with 1399 additions and 3 deletions

View File

@@ -0,0 +1,28 @@
#pragma once
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct {
uint64_t loop;
const char *test;
uint64_t mismatches;
uint64_t burnin_iters;
int error;
int done;
uint64_t total_mb;
int threads;
float progress;
} mt_cpu_status_t;
void mt_cpu_start(int mode);
void mt_cpu_stop(void);
int mt_cpu_running(void);
void mt_cpu_get(mt_cpu_status_t *out);
#ifdef __cplusplus
}
#endif