#include "TTimeStamp.h"

timespec


class description - source file - inheritance tree (.pdf)

class timespec

Inheritance Chart:
timespec

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

Data Members


    public:
time_t tv_sec seconds long tv_nsec nanoseconds

Class Description

 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.





Inline Functions


             void ~timespec()
         timespec timespec()
         timespec timespec(const timespec&)
        timespec& operator=(const timespec&)


Author: R. Hatcher 30/9/2001
Last update: root/base:$Name: $:$Id: TTimeStamp.h,v 1.16 2005/06/23 06:24:27 brun Exp $
Copyright (C) 1995-2002, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

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.