---
title: ml_get_cpu_count
framework: Kernel
role: symbol
role_heading: Function
platforms: [macOS 11.0+]
path: kernel/3609223-ml_get_cpu_count
---

# ml_get_cpu_count

## Declaration

```occ
unsigned int ml_get_cpu_count(void);
```
