| 412 | } |
| 413 | |
| 414 | void scenario::setFileName(const char *name) |
| 415 | { |
| 416 | const char* sep = strrchr(name, '/'); |
| 417 | if (sep) { |
| 418 | ++sep; // include slash |
| 419 | path = std::string(name, sep - name); |
| 420 | } else { |
| 421 | path.clear(); |
| 422 | sep = name; |
| 423 | } |
| 424 | const char* ext = strrchr(sep, '.'); |
| 425 | if (ext && strcmp(ext, ".xml") == 0) { |
| 426 | fileName = std::string(sep, ext - sep); |
| 427 | } else { |
| 428 | fileName = sep; |
| 429 | } |
| 430 | stats->setFileName(fileName.c_str(), ".csv"); |
| 431 | } |
| 432 | |
| 433 | void scenario::removeRtpTaskThreadID(pthread_t id) |
| 434 | { |
nothing calls this directly
no outgoing calls
no test coverage detected