Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: Français - Português do Brasil - 日本語 -
Scilab help >> PVM parallel Toolbox > pvm_get_timer

pvm_get_timer

Gets the system's notion of the current time.

Calling Sequence

[time] = pvm_get_timer()

Arguments

time

scalar

Description

pvm_get_timer returns the time elapsed since the last call of pvm_get_timer or the last call of pvm_set_timer. The time is expressed in elapsed microseconds. The resolution of the system clock is hardware dependent; the time may be updated continuously or in clock ticks.

The returned value timewill be >= 0 if the call is successful and will be will be -1 if some error occurs.

Examples

B = rand(100,100);
A = rand(100,100);
pvm_set_timer();C=A*B;t=pvm_get_timer()

See Also

<< pvm_f772sci PVM parallel Toolbox pvm_getinst >>

Consortium Scilab (DIGITEO)
Scilab Enterprises

Copyright (c) 2011-2012 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Oct 05 12:10:04 CEST 2011