MCPcopy Create free account
hub / github.com/3rdparty/libprocess / initialize

Method initialize

src/memory_profiler.cpp:522–558  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

520
521
522void 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
561MemoryProfiler::ProfilingRun::ProfilingRun(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected