Ping.cc File Reference
#include "squid.h"
#include "time/gadgets.h"
#include "tools/squidclient/Parameters.h"
#include "tools/squidclient/Ping.h"
#include <climits>
#include <csignal>
#include <iostream>
Include dependency graph for Ping.cc:
Go to the source code of this file.
Classes | |
class | Ping::pingStats_ |
measurements collected by the squidclient ping mode logics More... | |
Namespaces | |
namespace | Ping |
Functions | |
static void | catchSignal (int sig) |
Variables | |
Ping::TheConfig | Ping::Config |
class Ping::pingStats_ | Ping::stats |
static struct timeval tv1 | tv2 |
Function Documentation
◆ catchSignal()
|
static |
Signal interrupt handler for squidclient ping. Displays final statistics and disables further pings.
Definition at line 46 of file Ping.cc.
References Ping::Config, Ping::DisplayStats(), and Ping::TheConfig::enable.
Referenced by Ping::Init().
Variable Documentation
◆ tv2
|
static |
Definition at line 76 of file Ping.cc.
Referenced by Ping::TimerStop().