Stopwatch


Object Hierarchy:

Object hierarchy for Stopwatch

Description:

public class Stopwatch : Object

Mutable stopwatch for elapsed-time measurement.

Stopwatch measures elapsed monotonic time across start/stop intervals. Repeated start/stop calls accumulate elapsed duration until reset().

Example:

    var sw = new Stopwatch ();
sw.start ();
Posix.usleep (50000);
sw.stop ();
print ("elapsed=%" + int64.FORMAT + "ms\n", sw.elapsedMillis ());


Namespace: Vala.Time
Package: Valacore

Content:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class GLib.Object