mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-29 08:13:44 +01:00
16 lines
507 B
C
16 lines
507 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#define FF_CPUUSAGE_MODULE_NAME "CPUUsage"
|
||
|
|
|
||
|
|
void ffPrepareCPUUsage();
|
||
|
|
|
||
|
|
void ffPrintCPUUsage(FFinstance* instance, FFCPUUsageOptions* options);
|
||
|
|
void ffInitCPUUsageOptions(FFCPUUsageOptions* options);
|
||
|
|
bool ffParseCPUUsageCommandOptions(FFCPUUsageOptions* options, const char* key, const char* value);
|
||
|
|
void ffDestroyCPUUsageOptions(FFCPUUsageOptions* options);
|
||
|
|
|
||
|
|
#ifdef FF_HAVE_JSONC
|
||
|
|
#include "common/jsonconfig.h"
|
||
|
|
void ffParseCPUUsageJsonObject(FFinstance* instance, json_object* module);
|
||
|
|
#endif
|