# cpu

Set CPU resource limits for the build machine.

```rhai
build_machine.cpu(requested, limit) -> BuildMachine
```

## Parameters

- `requested` (int): Requested CPU in millicores
- `limit` (int): CPU limit in millicores

## Returns

Returns the `BuildMachine` builder for method chaining.

## Examples

```rhai
let bm = namespace.build_machine("builder")
    .image("ubuntu:22.04")
    .cpu(1000, 2000)
    .provision();
```

## Notes

- This is a chainable method
- Build processes benefit from multiple cores
- Values are in millicores (1000 = 1 CPU)
