#include "squid.h"
#include "tests/STUB.h"
#include "time/Engine.h"
#include "time/gadgets.h"
Go to the source code of this file.
|
| 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>
|
| |
◆ STUB_API
| #define STUB_API "time/libtime.la" |
◆ getCurrentTime()
| time_t getCurrentTime |
( |
| ) |
|
Update squid_curtime (also current_time, and current_dtime)
- Returns
- new value of squid_curtime
Referenced by BandwidthBucket::BandwidthBucket(), DebugMessageHeader::DebugMessageHeader(), IcmpSquid::Close(), Helper::SessionBase::closePipesSafely(), Helper::SessionBase::closeWritePipeSafely(), comm_check_incoming_poll_handlers(), comm_check_incoming_select_handlers(), Fs::Ufs::UFSSwapDir::createDirectory(), IpcIoFile::DiskerHandleRequests(), Comm::DoSelect(), DelayPools::Init(), ipc_thread_1(), Rock::Rebuild::loadingSteps(), main(), netdbReloadState(), netdbSaveState(), IcmpPinger::Open(), Helper::Client::openSessions(), statefulhelper::openSessions(), Fs::Ufs::RebuildState::rebuildStep(), SquidMain(), storeDirWriteCleanLogs(), Time::Engine::tick(), unlinkdClose(), Rock::Rebuild::validationSteps(), and watch_child().
◆ 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 |
( |
0 |
| ) |
|
◆ STUB_RETVAL() [2/3]
| time_t struct timeval struct timeval struct timeval STUB_RETVAL |
( |
0 |
| ) |
& |
◆ 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 & |
|
|
) |
| & |
◆ current_dtime
Definition at line 19 of file stub_libtime.cc.
Referenced by BandwidthBucket::BandwidthBucket(), FadingCounter::clear(), FadingCounter::count(), EventScheduler::dump(), DumpMallocStatistics(), HappyConnOpener::maybeOpenPrimeConnection(), SpareAllowanceGiver::recordAllowance(), BandwidthBucket::refillBucket(), Mem::Report(), EventScheduler::schedule(), ClientInfo::setWriteLimiter(), HappyOrderEnforcer::startedWaiting(), and EventScheduler::timeRemaining().
◆ squid_curtime