Refine CPU load behavior with system memory visibility

This commit is contained in:
Daniel Hiltgen
2024-06-03 19:09:23 -07:00
parent 434dfe30c5
commit fc37c192ae
7 changed files with 211 additions and 98 deletions

View File

@@ -35,11 +35,7 @@ void cpu_check_ram(mem_info_t *resp) {
}
#elif __APPLE__
// TODO consider an Apple implementation that does something useful
// mem_info_t cpu_check_ram() {
// mem_info_t resp = {0, 0, NULL};
// return resp;
// }
// Unused - see gpu_darwin.go
#else
#error "Unsupported platform"
#endif