uint32_t cpu_count(bool logical) { long ret = -1; if (logical) { return logical_cpu_count(); } else { return physical_cpu_count(); } return ret; }
int cpu_count(int logical) { long ret = -1; if (logical) { return logical_cpu_count(); } else { return physical_cpu_count(); } return ret; }