MCPcopy Create free account
hub / github.com/apache/mesos / getCurrentTime

Function getCurrentTime

src/common/protobuf_utils.cpp:1019–1024  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1017
1018
1019TimeInfo getCurrentTime()
1020{
1021 TimeInfo timeInfo;
1022 timeInfo.set_nanoseconds(process::Clock::now().duration().ns());
1023 return timeInfo;
1024}
1025
1026
1027FileInfo createFileInfo(const string& path, const struct stat& s)

Callers 10

TEST_FFunction · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85
TEST_PFunction · 0.85
_markAgentGoneMethod · 0.85
doRegistryGcMethod · 0.85
foreachFunction · 0.85
markUnreachableMethod · 0.85

Calls 2

nsMethod · 0.80
durationMethod · 0.80

Tested by 5

TEST_FFunction · 0.68
TEST_FFunction · 0.68
TEST_FFunction · 0.68
TEST_PFunction · 0.68