struct cpupower_topology { /* Amount of CPU cores, packages and threads per core in the system */ unsignedint cores; unsignedint pkgs; unsignedint threads; /* per core */
/* Array gets mallocated with cores entries, holding per core info */ struct cpuid_core_info *core_info;
};
struct cpuid_core_info { int pkg; int core; int cpu; char core_cpu_list[CPULIST_BUFFER];
/* flags */ unsignedint is_online:1;
};
#ifdef __cplusplus extern"C" { #endif
int get_cpu_topology(struct cpupower_topology *cpu_top); void cpu_topology_release(struct cpupower_topology cpu_top); int cpupower_is_cpu_online(unsignedint cpu);
#ifdef __cplusplus
} #endif
#endif
Messung V0.5
¤ Dauer der Verarbeitung: 0.0 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.