mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-25 16:00:39 +01:00
14 lines
254 B
C
14 lines
254 B
C
#ifndef __FREQ__
|
|
#define __FREQ__
|
|
|
|
#include <stdint.h>
|
|
#include "../../common/cpu.h"
|
|
#include "../../common/global.h"
|
|
|
|
#define MEASURE_TIME_SECONDS 5
|
|
#define LOOP_ITERS 100000000
|
|
|
|
int64_t measure_frequency(struct cpuInfo* cpu);
|
|
|
|
#endif
|