mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-09 08:20:20 +01:00
1b7a2c2ed5
MSYS2 version was built for smooth transition from POSIX api to Win32 api. It has almost identical output as Windows native version, except requiring msys runtime dll and being a bit slower.
14 lines
301 B
C
14 lines
301 B
C
#pragma once
|
|
|
|
#ifndef FF_INCLUDED_detection_cpu_cpuUsage
|
|
#define FF_INCLUDED_detection_cpu_cpuUsage
|
|
|
|
#ifdef _WIN32
|
|
// Disabled by default because the result does need some time to generate
|
|
#define FF_DETECTION_CPUUSAGE_NOWAIT 0
|
|
#endif
|
|
|
|
const char* ffGetCpuUsageResult(double* result);
|
|
|
|
#endif
|