#include "squid.h"
#include "tests/STUB.h"
#include "time/Engine.h"
#include "time/gadgets.h"
Go to the source code of this file.
◆ 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(), IcmpSquid::Close(), Helper::SessionBase::closePipesSafely(), Helper::SessionBase::closeWritePipeSafely(), comm_check_incoming_poll_handlers(), comm_check_incoming_select_handlers(), Fs::Ufs::UFSSwapDir::createDirectory(), DebugMessageHeader::DebugMessageHeader(), 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