MCPcopy Create free account
hub / github.com/apache/trafficserver / FailureInfo

Method FailureInfo

plugins/esi/test/sampleProb.cc:41–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39{
40public:
41 FailureInfo()
42 {
43 gettimeofday(&_start, NULL);
44 _totalSlot = totalDuration / windowSize; // INtegral multiple
45 _marker = 0;
46 for (int i = 0; i < _totalSlot; i++)
47 _passFail.push_back(make_pair(0, 0));
48
49 _avgOverWindow = 0;
50 _windowPassed = 0;
51 };
52
53 ~FailureInfo() {}
54 // Whenever the window time expires u start filling the count

Callers

nothing calls this directly

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected