FUNCTION REFERENCE

cputime

Return total process CPU time in seconds.

Return total process CPU time in seconds.

Syntax

t = cputime

Includes user and kernel CPU time from all threads in this process. It does not measure elapsed wall time.

Example

class(cputime)   % double

Differences from MATLAB: Measures the MatRust process, including other engines and desktop work in the same process.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.