Time.C File Reference

#include "common/h/Time.h"
#include <iostream>
#include <time.h>
#include <string.h>
#include <iomanip>
#include <stdio.h>
#include <assert.h>
#include <limits.h>
#include "common/h/int64iostream.h"

Go to the source code of this file.

Functions

ostream & operator<< (ostream &s, const timeUnit::ostream_fmt &u)
ostream & operator<< (ostream &s, const timeUnit &u)
ostream & operator<< (ostream &s, timeBase b)
void insCommas (int num, char strbuf[])
ostream & operator<< (ostream &s, timeLength z)
ostream & operator<< (ostream &s, timeStamp z)
ostream & operator<< (ostream &s, relTimeStamp z)
double operator/ (const timeLength &a, const timeLength &b)
const timeStamp operator+= (timeStamp &ts, timeLength tl)
COMMON_EXPORT const timeStamp operator-= (timeStamp &ts, timeLength tl)
const timeLength operator+= (timeLength &t, timeLength tl)
const timeLength operator-= (timeLength &t, timeLength tl)
const timeLength operator*= (timeLength &t, double d)
const timeLength operator/= (timeLength &t, double d)
const timeLength operator- (const timeLength &t)
const timeLength operator- (const timeStamp &a, const timeStamp &b)
const timeStamp operator+ (const timeStamp &a, const timeLength &b)
const timeStamp operator- (const timeStamp &a, const timeLength &b)
const timeStamp operator+ (const timeLength &a, const timeStamp &b)
const timeLength operator+ (const timeLength &a, const timeLength &b)
const timeLength operator- (const timeLength &a, const timeLength &b)
const timeLength operator* (const timeLength &a, const double b)
const timeLength operator/ (const timeLength &a, const double b)
const timeLength operator* (const double a, const timeLength &b)
const timeLength operator/ (const double a, const timeLength &b)
bool operator== (const timeStamp &a, const timeStamp &b)
bool operator!= (const timeStamp &a, const timeStamp &b)
bool operator> (const timeStamp &a, const timeStamp &b)
bool operator>= (const timeStamp &a, const timeStamp &b)
bool operator< (const timeStamp &a, const timeStamp &b)
bool operator<= (const timeStamp &a, const timeStamp &b)
timeStamp earlier (const timeStamp &a, const timeStamp &b)
timeStamp later (const timeStamp &a, const timeStamp &b)
bool operator== (const timeLength &a, const timeLength &b)
bool operator!= (const timeLength &a, const timeLength &b)
bool operator> (const timeLength &a, const timeLength &b)
bool operator>= (const timeLength &a, const timeLength &b)
bool operator< (const timeLength &a, const timeLength &b)
bool operator<= (const timeLength &a, const timeLength &b)
timeLength minimum (const timeLength &a, const timeLength &b)
timeLength maximum (const timeLength &a, const timeLength &b)
const timeLength abs (const timeLength &a)
const relTimeStamp operator+= (relTimeStamp &ts, timeLength tl)
const relTimeStamp operator-= (relTimeStamp &ts, timeLength tl)
const timeLength operator- (const relTimeStamp &a, const relTimeStamp &b)
const relTimeStamp operator+ (const relTimeStamp &a, const timeLength &b)
const relTimeStamp operator- (const relTimeStamp &a, const timeLength &b)
const relTimeStamp operator+ (const timeLength &a, const relTimeStamp &b)
bool operator== (const relTimeStamp &a, const relTimeStamp &b)
bool operator!= (const relTimeStamp &a, const relTimeStamp &b)
bool operator> (const relTimeStamp &a, const relTimeStamp &b)
bool operator>= (const relTimeStamp &a, const relTimeStamp &b)
bool operator< (const relTimeStamp &a, const relTimeStamp &b)
bool operator<= (const relTimeStamp &a, const relTimeStamp &b)
relTimeStamp earlier (const relTimeStamp &a, const relTimeStamp &b)
relTimeStamp later (const relTimeStamp &a, const relTimeStamp &b)

Function Documentation

const timeLength abs ( const timeLength a  ) 
relTimeStamp earlier ( const relTimeStamp a,
const relTimeStamp b 
)

Definition at line 784 of file Time.C.

References timeParent::isInitialized().

timeStamp earlier ( const timeStamp a,
const timeStamp b 
)

Definition at line 656 of file Time.C.

References timeParent::isInitialized().

void insCommas ( int  num,
char  strbuf[] 
)

Definition at line 324 of file Time.C.

Referenced by operator<<().

relTimeStamp later ( const relTimeStamp a,
const relTimeStamp b 
)

Definition at line 790 of file Time.C.

References timeParent::isInitialized().

timeStamp later ( const timeStamp a,
const timeStamp b 
)

Definition at line 662 of file Time.C.

References timeParent::isInitialized().

timeLength maximum ( const timeLength a,
const timeLength b 
)

Definition at line 701 of file Time.C.

References timeParent::isInitialized().

Referenced by abs().

timeLength minimum ( const timeLength a,
const timeLength b 
)

Definition at line 695 of file Time.C.

References timeParent::isInitialized().

bool operator!= ( const relTimeStamp a,
const relTimeStamp b 
)

Definition at line 763 of file Time.C.

References timeParent::get_ns(), and timeParent::isInitialized().

bool operator!= ( const timeLength a,
const timeLength b 
)

Definition at line 673 of file Time.C.

References timeParent::get_ns(), and timeParent::isInitialized().

bool operator!= ( const timeStamp a,
const timeStamp b 
)

Definition at line 635 of file Time.C.

References timeParent::get_ns(), and timeParent::isInitialized().

const timeLength operator* ( const double  a,
const timeLength b 
)

Definition at line 617 of file Time.C.

References timeParent::get_ns(), and timeParent::isInitialized().

const timeLength operator* ( const timeLength a,
const double  b 
)

Definition at line 607 of file Time.C.

References timeParent::get_ns(), and timeParent::isInitialized().

const timeLength operator*= ( timeLength t,
double  d 
)

Definition at line 556 of file Time.C.

References timeParent::assign(), timeParent::get_ns(), and timeParent::isInitialized().

const relTimeStamp operator+ ( const timeLength a,
const relTimeStamp b 
)

Definition at line 747 of file Time.C.

References timeParent::get_ns(), and timeParent::isInitialized().

const relTimeStamp operator+ ( const relTimeStamp a,
const timeLength b 
)

Definition at line 737 of file Time.C.

References timeParent::get_ns(), and timeParent::isInitialized().

const timeLength operator+ ( const timeLength a,
const timeLength b 
)

Definition at line 597 of file Time.C.

References timeParent::get_ns(), and timeParent::isInitialized().

const timeStamp operator+ ( const timeLength a,
const timeStamp b 
)

Definition at line 590 of file Time.C.

References timeParent::get_ns(), and timeParent::isInitialized().

const timeStamp operator+ ( const timeStamp a,
const timeLength b 
)

Definition at line 580 of file Time.C.

References timeParent::get_ns(), and timeParent::isInitialized().

const relTimeStamp operator+= ( relTimeStamp ts,
timeLength  tl 
)

Definition at line 719 of file Time.C.

References timeParent::assign(), timeParent::get_ns(), and timeParent::isInitialized().

const timeLength operator+= ( timeLength t,
timeLength  tl 
)

Definition at line 544 of file Time.C.

References timeParent::assign(), timeParent::get_ns(), and timeParent::isInitialized().

const timeStamp operator+= ( timeStamp ts,
timeLength  tl 
)

Definition at line 532 of file Time.C.

References timeParent::assign(), timeParent::get_ns(), and timeParent::isInitialized().

const relTimeStamp operator- ( const relTimeStamp a,
const timeLength b 
)

Definition at line 741 of file Time.C.

References timeParent::get_ns(), and timeParent::isInitialized().

const timeLength operator- ( const relTimeStamp a,
const relTimeStamp b 
)

Definition at line 731 of file Time.C.

References timeParent::get_ns(), and timeParent::isInitialized().

const timeLength operator- ( const timeLength a,
const timeLength b 
)

Definition at line 601 of file Time.C.

References timeParent::get_ns(), and timeParent::isInitialized().

const timeStamp operator- ( const timeStamp a,
const timeLength b 
)

Definition at line 584 of file Time.C.

References timeParent::get_ns(), and timeParent::isInitialized().

const timeLength operator- ( const timeStamp a,
const timeStamp b 
)

Definition at line 574 of file Time.C.

References timeParent::get_ns(), and timeParent::isInitialized().

const timeLength operator- ( const timeLength t  ) 

Definition at line 568 of file Time.C.

References timeParent::get_ns(), and timeParent::isInitialized().

const relTimeStamp operator-= ( relTimeStamp ts,
timeLength  tl 
)

Definition at line 724 of file Time.C.

References timeParent::assign(), timeParent::get_ns(), and timeParent::isInitialized().

const timeLength operator-= ( timeLength t,
timeLength  tl 
)

Definition at line 549 of file Time.C.

References timeParent::assign(), timeParent::get_ns(), and timeParent::isInitialized().

COMMON_EXPORT const timeStamp operator-= ( timeStamp ts,
timeLength  tl 
)

Definition at line 537 of file Time.C.

References timeParent::assign(), timeParent::get_ns(), and timeParent::isInitialized().

const timeLength operator/ ( const double  a,
const timeLength b 
)

Definition at line 621 of file Time.C.

References timeParent::get_ns(), and timeParent::isInitialized().

const timeLength operator/ ( const timeLength a,
const double  b 
)

Definition at line 611 of file Time.C.

References timeParent::get_ns(), and timeParent::isInitialized().

double operator/ ( const timeLength a,
const timeLength b 
)

Definition at line 433 of file Time.C.

References timeParent::get_ns(), and timeParent::isInitialized().

const timeLength operator/= ( timeLength t,
double  d 
)

Definition at line 561 of file Time.C.

References timeParent::assign(), timeParent::get_ns(), and timeParent::isInitialized().

bool operator< ( const relTimeStamp a,
const relTimeStamp b 
)

Definition at line 775 of file Time.C.

References timeParent::get_ns(), and timeParent::isInitialized().

bool operator< ( const timeLength a,
const timeLength b 
)

Definition at line 685 of file Time.C.

References timeParent::get_ns(), and timeParent::isInitialized().

bool operator< ( const timeStamp a,
const timeStamp b 
)

Definition at line 647 of file Time.C.

References timeParent::get_ns(), and timeParent::isInitialized().

ostream& operator<< ( ostream &  s,
relTimeStamp  z 
)

Definition at line 422 of file Time.C.

References relTimeStamp::getI(), timeParent::isInitialized(), and timeUnit::ns().

ostream& operator<< ( ostream &  s,
timeStamp  z 
)
ostream& operator<< ( ostream &  s,
timeLength  z 
)
ostream& operator<< ( ostream &  s,
timeBase  b 
)

Definition at line 311 of file Time.C.

References timeBase::bStd(), timeBase::get_ns2StdBaseMark(), and timeUnit::ns().

ostream& operator<< ( ostream &  s,
const timeUnit u 
)
ostream& operator<< ( ostream &  s,
const timeUnit::ostream_fmt u 
)

Definition at line 296 of file Time.C.

References timeUnit::curFmt.

bool operator<= ( const relTimeStamp a,
const relTimeStamp b 
)

Definition at line 779 of file Time.C.

References timeParent::get_ns(), and timeParent::isInitialized().

bool operator<= ( const timeLength a,
const timeLength b 
)

Definition at line 689 of file Time.C.

References timeParent::get_ns(), and timeParent::isInitialized().

bool operator<= ( const timeStamp a,
const timeStamp b 
)

Definition at line 651 of file Time.C.

References timeParent::get_ns(), and timeParent::isInitialized().

bool operator== ( const relTimeStamp a,
const relTimeStamp b 
)

Definition at line 759 of file Time.C.

References timeParent::get_ns(), and timeParent::isInitialized().

bool operator== ( const timeLength a,
const timeLength b 
)

Definition at line 669 of file Time.C.

References timeParent::get_ns(), and timeParent::isInitialized().

bool operator== ( const timeStamp a,
const timeStamp b 
)

Definition at line 631 of file Time.C.

References timeParent::get_ns(), and timeParent::isInitialized().

bool operator> ( const relTimeStamp a,
const relTimeStamp b 
)

Definition at line 767 of file Time.C.

References timeParent::get_ns(), and timeParent::isInitialized().

bool operator> ( const timeLength a,
const timeLength b 
)

Definition at line 677 of file Time.C.

References timeParent::get_ns(), and timeParent::isInitialized().

bool operator> ( const timeStamp a,
const timeStamp b 
)

Definition at line 639 of file Time.C.

References timeParent::get_ns(), and timeParent::isInitialized().

bool operator>= ( const relTimeStamp a,
const relTimeStamp b 
)

Definition at line 771 of file Time.C.

References timeParent::get_ns(), and timeParent::isInitialized().

bool operator>= ( const timeLength a,
const timeLength b 
)

Definition at line 681 of file Time.C.

References timeParent::get_ns(), and timeParent::isInitialized().

bool operator>= ( const timeStamp a,
const timeStamp b 
)

Definition at line 643 of file Time.C.

References timeParent::get_ns(), and timeParent::isInitialized().

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 12 Jul 2013 for SymtabAPI by  doxygen 1.6.1