Ping Namespace Reference

Classes

class  pingStats_
 measurements collected by the squidclient ping mode logics More...
 
class  TheConfig
 parameters controlling 'ping' mode message looping. More...
 

Functions

uint32_t Init ()
 initialize the squidclient ping mode More...
 
bool LoopDone (int i)
 whether ping loop is completed at the given iteration. More...
 
void TimerStart ()
 start timing a new transaction More...
 
void TimerStop (size_t fsize)
 
void DisplayStats ()
 display summary of ping data collected More...
 

Variables

Ping::TheConfig Config
 
class Ping::pingStats_ stats
 

Detailed Description

API for looping the squidclient request message repeatedly.

Function Documentation

void Ping::DisplayStats ( )
uint32_t Ping::Init ( void  )

Definition at line 54 of file Ping.cc.

References catchSignal(), Config, Ping::TheConfig::count, int, and NULL.

Referenced by main().

bool Ping::LoopDone ( int  i)
inline

Definition at line 45 of file Ping.h.

References Config, Ping::TheConfig::count, and Ping::TheConfig::enable.

Referenced by main(), and TimerStop().

void Ping::TimerStart ( )

Definition at line 79 of file Ping.cc.

References Config, and NULL.

Referenced by client_comm_connect().

void Ping::TimerStop ( size_t  fsize)

calculate and display the statictics for a complete transaction

Parameters
fsizenumber of bytes transferred during this transaction (for KB/s measure)

Definition at line 92 of file Ping.cc.

References Config, Ping::pingStats_::counted, Ping::TheConfig::interval, LoopDone(), NULL, Ping::pingStats_::pMax, Ping::pingStats_::pMin, stats, Ping::pingStats_::sum, tv2, and tvSubMsec().

Referenced by main().

Variable Documentation

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors