MCPcopy Create free account
hub / github.com/SIPp/sipp / init

Method init

src/stat.cpp:199–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197
198
199int CStat::init ()
200{
201 // reset of all counter
202 RESET_COUNTERS(M_counters);
203 GET_TIME (&M_startTime);
204 memcpy (&M_pdStartTime, &M_startTime, sizeof (struct timeval));
205 memcpy (&M_plStartTime, &M_startTime, sizeof (struct timeval));
206 M_outputStream = nullptr;
207 M_headerAlreadyDisplayed = false;
208
209 M_outputStreamRtt = nullptr;
210 M_headerAlreadyDisplayedRtt = false;
211
212 std::vector<int> error_codes(0);
213
214 getTimezoneOffset();
215
216 return(1);
217}
218
219
220int CStat::isWellFormed(char * P_listeStr,

Callers

nothing calls this directly

Calls 1

getTimezoneOffsetFunction · 0.85

Tested by

no test coverage detected