Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.3 - Português

Change language to:
English - Français - 日本語 -

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
However, this page did not exist in the previous stable version.

Ajuda Scilab >> Computações Paralelas com PVM > 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 Computações Paralelas com PVM pvm_getinst >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Oct 05 12:11:55 CEST 2011