Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

strmod::unievent::Timer::interval_t Struct Reference

A span of time. This interval is of only nanosecond precision. If you need to time lasers for photographing molecular interactions or schedule oscilloscope sweeps, this class is probably not precise enough for you. Then again, most OSes are really iffy for anything less than millisecond resolution anyway. More...

#include <UniEvent/Timer.h>

Inheritance diagram for strmod::unievent::Timer::interval_t:

Inheritance graph
[legend]
List of all members.

Public Methods

 interval_t (unsigned long secs=0, lcore::U4Byte nanosecs=0)
 Construct a Timer::interval_t possibly from seconds and nanoseconds.

void normalize ()
 Reduce nanoseconds to represent less than a full second.


Public Attributes

unsigned long seconds
 Seconds.

lcore::U4Byte nanoseconds
 Billionths of a second.


Detailed Description

A span of time. This interval is of only nanosecond precision. If you need to time lasers for photographing molecular interactions or schedule oscilloscope sweeps, this class is probably not precise enough for you. Then again, most OSes are really iffy for anything less than millisecond resolution anyway.

Definition at line 77 of file Timer.h.


The documentation for this struct was generated from the following file:
Generated on Wed Jan 29 00:32:57 2003 for libNet by doxygen1.3-rc1