class timespec


 The TTimeStamp encapsulates seconds and ns since EPOCH

 This extends (and isolates) struct timespec
    struct timespec
       {
          time_t   tv_sec;   /* seconds *
          long     tv_nsec;  /* nanoseconds *
       }
    time_t seconds is relative to Jan 1, 1970 00:00:00 UTC

 No accounting of leap seconds is made.

 Due to ROOT/CINT limitations TTimeStamp does not explicitly
 hold a timespec struct; attempting to do so means the Streamer
 must be hand written.  Instead we have chosen to simply contain
 similar fields within the private area of this class.

 NOTE: the use of time_t (and its default implementation as a 32 int)
       implies overflow conditions occurs somewhere around
       Jan 18, 19:14:07, 2038.
       If this experiment is still going when it becomes significant
       someone will have to deal with it.


This class is also known as (typedefs to this class)

timespec_t

Function Members (Methods)

public:
timespec()
timespec(const timespec&)
~timespec()
timespec&operator=(const timespec&)

Data Members

public:
longtv_nsecnanoseconds
time_ttv_secseconds

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation


Author: R. Hatcher 30/9/2001
Last change: root/base:$Id: TTimeStamp.h 24597 2008-06-28 13:43:06Z rdm $
Last generated: 2008-07-03 15:01
Copyright (C) 1995-2002, Rene Brun and Fons Rademakers. *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.