SquidTime.h File Reference
#include "rfc1123.h"
#include <ctime>
Include dependency graph for SquidTime.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TimeEngine
 

Namespaces

 Time
 

Typedefs

typedef uint64_t time_msec_t
 

Functions

time_t getCurrentTime (void)
 Get current time. More...
 
int tvSubMsec (struct timeval, struct timeval)
 
void tvSub (struct timeval &res, struct timeval const &t1, struct timeval const &t2)
 
void tvAdd (struct timeval &res, struct timeval const &t1, struct timeval const &t2)
 
void tvAssignAdd (struct timeval &t, struct timeval const &add)
 
long int tvToMsec (struct timeval &t)
 Convert timeval to milliseconds. More...
 
const char * Time::FormatStrf (time_t t)
 
const char * Time::FormatHttpd (time_t t)
 

Variables

struct timeval current_time
 
double current_dtime
 
time_t squid_curtime
 

Typedef Documentation

typedef uint64_t time_msec_t

Definition at line 20 of file SquidTime.h.

Function Documentation

void tvAdd ( struct timeval &  res,
struct timeval const &  t1,
struct timeval const &  t2 
)

timeval addition operation

Parameters
[out]res= t1 + t2

Definition at line 52 of file time.cc.

void tvAssignAdd ( struct timeval &  t,
struct timeval const &  add 
)

timeval addition assignment operation

Parameters
[out]t+= add

Definition at line 62 of file time.cc.

Referenced by Adaptation::Icap::History::processingTime(), and Adaptation::Icap::History::stop().

void tvSub ( struct timeval &  res,
struct timeval const &  t1,
struct timeval const &  t2 
)

Variable Documentation

struct timeval current_time

Definition at line 15 of file stub_time.cc.

Referenced by IpCacheLookupForwarder::additionalLookupDelay(), fqdncache_entry::age(), Format::Format::assemble(), authDigestNonceIsStale(), authenticateDigestNonceCacheCleanup(), authenticateDigestNonceNew(), IpcIoFile::canWait(), Auth::CredentialsCache::cleanup(), clientBeginRequest(), ClientHttpRequest::ClientHttpRequest(), StoreEntry::complete(), Adaptation::Icap::History::currentTime(), debugLogTime(), IpcIoFile::DiskerHandleRequests(), Adaptation::Icap::Xaction::finalizeLogInfo(), IpCacheLookupForwarder::forwardLookup(), fqdncache_nbgethostbyaddr(), GetCountersStats(), getCurrentTime(), GetInfo(), Adaptation::Icap::OptXact::handleCommConnected(), Adaptation::Icap::ModXact::handleCommConnected(), Adaptation::Icap::OptXact::handleCommRead(), Adaptation::Icap::ModXact::handleCommRead(), helperDispatch(), helperReturnBuffer(), helperStatefulDispatch(), helperStatefulHandleRead(), icpUdpSend(), icpUdpSendQueue(), idnsCheckQueue(), idnsSendQuery(), idnsStartQuery(), idnsStats(), Rock::Rebuild::loadingSteps(), Icmp::Log(), ClientHttpRequest::logRequest(), IpCacheLookupForwarder::lookupsStarting(), neighborsUdpPing(), neighborUpdateRtt(), netdbReloadState(), netdbSaveState(), HierarchyLogEntry::notePeerRead(), HierarchyLogEntry::notePeerWrite(), Mgr::InfoActionData::operator+=(), helper::packStatsInto(), peerCountHandleIcpReply(), peerCountMcastPeersStart(), peerGetSomeNeighbor(), peerHtcpParentMiss(), peerIcpParentMiss(), peerSelect(), peerSelectDnsPaths(), ConnStateData::postHttpsAccept(), IpcIoFile::push(), Fs::Ufs::RebuildState::rebuildStep(), Adaptation::History::Entry::rptm(), Icmp6::SendEcho(), Icmp4::SendEcho(), snmp_prfSysFn(), snmp_sysFn(), Log::Format::SquidIcap(), SquidMain(), Log::Format::SquidNative(), Log::Format::SquidReferer(), Adaptation::Icap::History::start(), Adaptation::Ecap::XactionRep::start(), HierarchyLogEntry::startPeerClock(), statAvgTick(), statClientRequests(), statCountersInit(), HierarchyLogEntry::stopPeerClock(), storeDirWriteCleanLogs(), storeLog(), storeRebuildComplete(), storeRebuildStart(), IpCacheLookupForwarder::totalResponseTime(), ClientHttpRequest::updateCounters(), Rock::Rebuild::validationSteps(), IpcIoFile::WaitBeforePop(), and Adaptation::Icap::Xaction::Xaction().

time_t squid_curtime

Definition at line 17 of file stub_time.cc.

Referenced by getCurrentTime().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors