| 520 | |
| 521 | |
| 522 | void MemoryProfiler::initialize() |
| 523 | { |
| 524 | route("/start", |
| 525 | authenticationRealm, |
| 526 | START_HELP(), |
| 527 | &MemoryProfiler::start); |
| 528 | |
| 529 | route("/stop", |
| 530 | authenticationRealm, |
| 531 | STOP_HELP(), |
| 532 | &MemoryProfiler::stop); |
| 533 | |
| 534 | route("/download/raw", |
| 535 | authenticationRealm, |
| 536 | DOWNLOAD_RAW_HELP(), |
| 537 | &MemoryProfiler::downloadRawProfile); |
| 538 | |
| 539 | route("/download/text", |
| 540 | authenticationRealm, |
| 541 | DOWNLOAD_TEXT_HELP(), |
| 542 | &MemoryProfiler::downloadSymbolizedProfile); |
| 543 | |
| 544 | route("/download/graph", |
| 545 | authenticationRealm, |
| 546 | DOWNLOAD_GRAPH_HELP(), |
| 547 | &MemoryProfiler::downloadGraphProfile); |
| 548 | |
| 549 | route("/statistics", |
| 550 | authenticationRealm, |
| 551 | STATISTICS_HELP(), |
| 552 | &MemoryProfiler::statistics); |
| 553 | |
| 554 | route("/state", |
| 555 | authenticationRealm, |
| 556 | STATE_HELP(), |
| 557 | &MemoryProfiler::state); |
| 558 | } |
| 559 | |
| 560 | |
| 561 | MemoryProfiler::ProfilingRun::ProfilingRun( |
nothing calls this directly
no outgoing calls
no test coverage detected