#include <sys/types.h>
#include <unistd.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include "../../util/header.h"
#include "../../util/util.h"
Go to the source code of this file.
◆ SRVLVL
#define SRVLVL "/proc/service_levels" |
◆ SRVLVL_AUTHORIZATION
#define SRVLVL_AUTHORIZATION "authorization=" |
◆ SRVLVL_CPUMF
#define SRVLVL_CPUMF "CPU-MF:" |
◆ SRVLVL_VERSION
#define SRVLVL_VERSION "version=" |
◆ SYSINFO
#define SYSINFO "/proc/sysinfo" |
◆ SYSINFO_MANU
#define SYSINFO_MANU "Manufacturer:" |
◆ SYSINFO_MODEL
#define SYSINFO_MODEL "Model:" |
◆ SYSINFO_TYPE
#define SYSINFO_TYPE "Type:" |
◆ get_cpuid()
int get_cpuid |
( |
char * |
buffer, |
|
|
size_t |
sz |
|
) |
| |
◆ get_cpuid_str()
char* get_cpuid_str |
( |
struct perf_pmu *pmu |
__maybe_unused | ) |
|