stub_time.cc File Reference
#include "squid.h"
#include "SquidTime.h"
#include "STUB.h"
Include dependency graph for stub_time.cc:

Go to the source code of this file.

Macros

#define STUB_API   "time.cc"
 

Functions

time_t getCurrentTime (void)
 Get current time. More...
 
int tvSubMsec (struct timeval, struct timeval)
 
void tvSub (timeval &, timeval const &, timeval const &)
 
void tvAssignAdd (timeval &, timeval const &)
 

Variables

struct timeval current_time
 
double current_dtime
 
time_t squid_curtime = 0
 

Macro Definition Documentation

#define STUB_API   "time.cc"

Definition at line 12 of file stub_time.cc.

Function Documentation

time_t getCurrentTime ( void  )

Definition at line 19 of file stub_time.cc.

void tvAssignAdd ( timeval &  ,
timeval const &   
)

Definition at line 22 of file stub_time.cc.

void tvSub ( timeval &  ,
timeval const &  ,
timeval const &   
)

Definition at line 21 of file stub_time.cc.

int tvSubMsec ( struct timeval  ,
struct timeval   
)

Definition at line 20 of file stub_time.cc.

Variable Documentation

double current_dtime

Definition at line 16 of file stub_time.cc.

struct timeval current_time

Definition at line 15 of file stub_time.cc.

time_t squid_curtime = 0

Definition at line 17 of file stub_time.cc.

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors