MCPcopy Create free account
hub / github.com/apple/foundationdb / startSystemMonitor

Function startSystemMonitor

fdbserver/fdbserver.actor.cpp:503–512  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

501void skipListTest();
502
503Future<Void> startSystemMonitor(std::string dataFolder,
504 Optional<Standalone<StringRef>> dcId,
505 Optional<Standalone<StringRef>> zoneId,
506 Optional<Standalone<StringRef>> machineId) {
507 initializeSystemMonitorMachineState(
508 SystemMonitorMachineState(dataFolder, dcId, zoneId, machineId, g_network->getLocalAddress().ip));
509
510 systemMonitor();
511 return recurring(&systemMonitor, SERVER_KNOBS->SYSTEM_MONITOR_FREQUENCY, TaskPriority::FlushTrace);
512}
513
514void testIndexedSet();
515

Callers 1

mainFunction · 0.85

Calls 4

systemMonitorFunction · 0.85
getLocalAddressMethod · 0.45

Tested by

no test coverage detected