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

Method setRepartitionResponseTime

src/stat.cpp:426–444  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

424}
425
426void CStat::setRepartitionResponseTime (char * P_listeStr)
427{
428 unsigned int * listeInteger;
429 int sizeOfListe;
430 int i;
431
432 for (i = 0; i < nRtds(); i++) {
433 if(createIntegerTable(P_listeStr, &listeInteger, &sizeOfListe) == 1) {
434 initRepartition(listeInteger,
435 sizeOfListe,
436 &M_ResponseTimeRepartition[i],
437 &M_SizeOfResponseTimeRepartition);
438 } else {
439 ERROR("Could not create table for response time repartition '%s'", P_listeStr);
440 }
441 delete [] listeInteger;
442 listeInteger = nullptr;
443 }
444}
445
446
447void CStat::setRepartitionCallLength(unsigned int* repartition,

Callers 1

scenarioMethod · 0.80

Calls 1

ERRORFunction · 0.85

Tested by

no test coverage detected