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

Function initializeSystemMonitorMachineState

flow/SystemMonitor.cpp:33–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31SystemMonitorMachineState machineState;
32
33void initializeSystemMonitorMachineState(SystemMonitorMachineState machineState) {
34 ::machineState = machineState;
35
36 ASSERT(g_network);
37 ::machineState.monitorStartTime = now();
38}
39
40double machineStartTime() {
41 return ::machineState.monitorStartTime;

Callers 3

startSystemMonitorFunction · 0.85
createDatabaseMethod · 0.85

Calls 1

nowFunction · 0.85

Tested by

no test coverage detected