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

Method setRepartitionCallLength

src/stat.cpp:409–424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

407}
408
409void CStat::setRepartitionCallLength(char * P_listeStr)
410{
411 unsigned int * listeInteger;
412 int sizeOfListe;
413
414 if(createIntegerTable(P_listeStr, &listeInteger, &sizeOfListe) == 1) {
415 initRepartition(listeInteger,
416 sizeOfListe,
417 &M_CallLengthRepartition,
418 &M_SizeOfCallLengthRepartition);
419 } else {
420 ERROR("Could not create table for call length repartition '%s'", P_listeStr);
421 }
422 delete [] listeInteger;
423 listeInteger = nullptr;
424}
425
426void CStat::setRepartitionResponseTime (char * P_listeStr)
427{

Callers 1

scenarioMethod · 0.80

Calls 1

ERRORFunction · 0.85

Tested by

no test coverage detected