stub_libtime.cc File Reference
#include "squid.h"
#include "tests/STUB.h"
#include "time/Engine.h"
#include "time/gadgets.h"
Include dependency graph for stub_libtime.cc:

Go to the source code of this file.

Macros

#define STUB_API   "time/libtime.la"
 

Functions

time_t getCurrentTime () STUB_RETVAL(0) int tvSubUsec(struct timeval
 
time_t struct timeval STUB_RETVAL (0) double tvSubDsec(struct timeval
 
time_t struct timeval struct timeval STUB_RETVAL (0.0) int tvSubMsec(struct timeval
 
time_t struct timeval struct timeval struct timeval STUB_RETVAL (0) void tvSub(struct timeval &
 
time_t struct timeval struct timeval struct timeval struct timeval const struct timeval const &STUB void tvAdd (struct timeval &, struct timeval const &, struct timeval const &) STUB void tvAssignAdd(struct timeval &
 
time_t struct timeval struct timeval struct timeval struct timeval const struct timeval const &STUB void struct timeval const &STUB std::ostream & operator<< (std::ostream &os, const timeval &) STUB_RETVAL(os) namespace Time
 prints <seconds>.<microseconds> More...
 

Variables

double current_dtime = 0.0
 the current UNIX time in seconds (with microsecond precision) More...
 
time_t squid_curtime = 0
 the current UNIX time in seconds More...
 

Macro Definition Documentation

◆ STUB_API

#define STUB_API   "time/libtime.la"

Definition at line 11 of file stub_libtime.cc.

Function Documentation

◆ getCurrentTime()

◆ operator<<()

time_t struct timeval struct timeval struct timeval struct timeval const struct timeval const &STUB void struct timeval const &STUB std::ostream & operator<< ( std::ostream &  os,
const timeval &   
)

◆ STUB_RETVAL() [1/3]

time_t struct timeval STUB_RETVAL ( )

Referenced by operator<<().

◆ STUB_RETVAL() [2/3]

time_t struct timeval struct timeval struct timeval STUB_RETVAL ( ) &

◆ STUB_RETVAL() [3/3]

time_t struct timeval struct timeval STUB_RETVAL ( 0.  0)

◆ tvAdd()

time_t struct timeval struct timeval struct timeval struct timeval const struct timeval const &STUB void tvAdd ( struct timeval &  ,
struct timeval const &  ,
struct timeval const &   
) &

Referenced by ping_data::deadline().

Variable Documentation

◆ current_dtime

◆ squid_curtime

time_t squid_curtime = 0

Definition at line 20 of file stub_libtime.cc.

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors