Open zchrissirhcz opened 2 years ago
(base) ➜ cpuinfo git:(master) uname -a Darwin ZZ-MBP.local 21.5.0 Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:22 PDT 2022; root:xnu-8020.121.3~4/RELEASE_X86_64 x86_64
* 5e63739 2022-07-18 | Add bazel support for iOS arm64 simulator (#105) (HEAD -> master, origin/master, origin/HEAD) [Keith Smiley]
#include <stdio.h> #include "cpuinfo.h"
int main() { cpuinfo_initialize();
const cpuinfo_core* core = cpuinfo_get_current_core(); printf("core is %p\n", core); cpuinfo_deinitialize(); return 0;
}
- Expected behaviour The print value of `core` should be not "0x0" - The actual output
core is 0x0
int main() { cpuinfo_initialize();
}
core is 0x0