struct_stopwatch_t Struct Reference

Defines a very basic stopwatch-like timer. More...

#include <lib/utils/include/stopwatch.h>


Data Fields

struct rusage rsg [1]
uint64_t started_usec
uint64_t elapsed_usec
bool is_running


Detailed Description

Defines a very basic stopwatch-like timer.

This structure defines very basic stopwatch-like timer based on the rusage structure.

Definition at line 55 of file stopwatch.h.


Field Documentation

struct rusage struct_stopwatch_t::rsg[1] [read]

An rusage structure.

Definition at line 59 of file stopwatch.h.

The time (in microseconds) when the stopwatch started.

Definition at line 63 of file stopwatch.h.

The elapsed time accumulated (in microseconds).

Definition at line 67 of file stopwatch.h.

true iif the stopwatch is currently running.

Definition at line 71 of file stopwatch.h.


The documentation for this struct was generated from the following file:

Generated on Fri Jun 17 11:10:12 2011 for TIFA by Doxygen 1.5.5