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

Function init

plugins/esi/lib/Stats.cc:39–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37 StatSystem *g_system = nullptr;
38
39 void
40 init(StatSystem *system)
41 {
42 g_system = system;
43 if (g_system) {
44 for (int i = 0; i < Stats::MAX_STAT_ENUM; ++i) {
45 // FIXME doesn't return a value.
46 g_system->create(i);
47 }
48 }
49 }
50
51 // FIXME step should be TSMgmtInt but for some reason the linker is having some strange int vs long name mangling issue.
52 void

Callers 15

convert2yaml.pyFile · 0.50
PacketQueueMethod · 0.50
advanceNowMethod · 0.50
startMethod · 0.50
testRunStartingMethod · 0.50
clear_and_startMethod · 0.50
startMethod · 0.50
initMethod · 0.50
mainFunction · 0.50
single_plugin_initFunction · 0.50
getRemapPluginMethod · 0.50

Calls 1

createMethod · 0.45

Tested by 2

testRunStartingMethod · 0.40
initMethod · 0.40