MCPcopy Create free account
hub / github.com/SeisSol/SeisSol / Sample

Method Sample

src/Monitoring/ActorStateStatistics.cpp:30–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30ActorStateStatistics::Sample::Sample(seissol::time_stepping::ActorState state)
31 : state(state), end(std::nullopt), numEnteredRegion(0) {
32 clock_gettime(CLOCK_MONOTONIC, &begin);
33}
34void ActorStateStatistics::Sample::finish() {
35 timespec endTime{};
36 clock_gettime(CLOCK_MONOTONIC, &endTime);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected