Ping.cc File Reference
#include "squid.h"
#include "SquidTime.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

 Ping
 

Functions

static void catchSignal (int sig)
 

Variables

Ping::TheConfig Ping::Config
 
class Ping::pingStats_ Ping::stats
 
static struct timeval tv1 tv2
 

Function Documentation

static void catchSignal ( int  sig)
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

struct timeval tv1 tv2
static

Definition at line 76 of file Ping.cc.

Referenced by Ping::TimerStop().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors