Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Engineering LibreTexts

5.5: Timing

( \newcommand{\kernel}{\mathrm{null}\,}\)

Command Effect

cputime 

CPU time in seconds.

clock 

Current date and time as date vector.

tic, toc 

Start, stop a stopwatch timer.


5.5: Timing is shared under a CC BY 1.3 license and was authored, remixed, and/or curated by Brian Vick, Virginia Tech.

Support Center

How can we help?