1 #pragma once 2 3 #include <stdint.h> 4 5 struct cpuinfo_freebsd_topology { 6 uint32_t packages; 7 uint32_t cores; 8 uint32_t threads; 9 uint32_t threads_per_core; 10 }; 11 12 struct cpuinfo_freebsd_topology cpuinfo_freebsd_detect_topology(void); 13