---
title: ml_get_cpu_number_type
framework: Kernel
role: symbol
role_heading: Function
platforms: [macOS 12.0+]
path: kernel/3786093-ml_get_cpu_number_type
---

# ml_get_cpu_number_type

## Declaration

```occ
unsigned int ml_get_cpu_number_type(cluster_type_t cluster_type, bool logical, bool available);
```
