Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

cputime (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the timing class.

Syntax

c = cputime

Description

Returns the CPU time in seconds. The base reference time, or millisecond zero, is undefined. You cannot convert a millisecond timer value to a real-world time or date. The value of the millisecond timer wraps from (2^32)-1 to 0.

Examples

Outputs

Name Description
c Returns the value of the LabVIEW millisecond timer divided by 1000. c is a scalar number.

Examples

A = cputime
for i = 1:1000 sqrt(pi);
end
B = cputime
C = B-A

Related Topics

clock
datestr
datenum
etime
now
tic
toc


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit