stub_StatHist.cc
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2022 The Squid Software Foundation and contributors
3  *
4  * Squid software is distributed under GPLv2+ license and includes
5  * contributions from numerous individuals and organizations.
6  * Please see the COPYING and CONTRIBUTORS files for details.
7  */
8 
9 #include "squid.h"
10 #include "StatHist.h"
11 
12 #define STUB_API "StatHist.cc"
13 #include "tests/STUB.h"
14 
15 class StoreEntry;
16 
18 void StatHist::enumInit(unsigned int) STUB_NOP
19 void StatHist::count(double) {/* STUB_NOP */}
20 double statHistDeltaMedian(const StatHist &, const StatHist &) STUB_RETVAL(0.0)
21 double statHistDeltaPctile(const StatHist &, const StatHist &, double) STUB_RETVAL(0.0)
22 void StatHist::logInit(unsigned int, double, double) STUB_NOP
23 void statHistIntDumper(StoreEntry *, int, double, double, int) STUB
24 
void StatHistBinDumper(StoreEntry *, int idx, double val, double size, int count)
function signature for StatHist dumping functions
Definition: StatHist.h:19
#define STUB_RETVAL(x)
Definition: STUB.h:41
double statHistDeltaMedian(const StatHist &, const StatHist &) STUB_RETVAL(0.0) double statHistDeltaPctile(const StatHist &
void dump(StoreEntry *sentry, StatHistBinDumper *bd) const
Definition: StatHist.cc:171
void enumInit(unsigned int last_enum)
Definition: StatHist.cc:235
double statHistDeltaPctile(const StatHist &A, const StatHist &B, double pctile)
Definition: StatHist.cc:97
void count(double val)
Definition: StatHist.cc:55
void EVH void double
Definition: stub_event.cc:16
#define STUB
macro to stub a void function.
Definition: STUB.h:33
StatHistBinDumper statHistIntDumper
Definition: StatHist.h:119
#define STUB_NOP
Definition: STUB.h:37

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors