Skip to main content

cpu_percent

Method
This is a method of the ResourceLimits class in the sandbox module.
Set CPU limit.

Signature

def cpu_percent(mut self, percent: u32) -> Self

Parameters

percent
u32
required
No description available.

Returns

Returns
Self
The result of the operation.