pyufunc.cpu_times#

pyufunc.cpu_times(percpu=False)#

Count the CPU times.

Parameters:

percpu (bool, optional) – If True, return a list of CPU times for each CPU. Defaults to False.

Note

Example

>>> cpu_times()
Returns:

A named tuple representing the CPU times.

Return type:

psutil.cpu_times