#include "TTimeStamp.h"

# timespec

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

## 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.11 2004/07/07 22:42:40 rdm Exp $
Copyright (C) 1995-2002, Rene Brun and Fons Rademakers. *