MCPcopy Create free account
hub / github.com/SFML/SFML / restart

Method restart

src/SFML/System/Clock.cpp:70–76  ·  view source on GitHub ↗

///////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

68
69////////////////////////////////////////////////////////////
70Time Clock::restart()
71{
72 const Time elapsed = getElapsedTime();
73 m_refPoint = priv::ClockImpl::now();
74 m_stopPoint = {};
75 return elapsed;
76}
77
78
79////////////////////////////////////////////////////////////

Callers 8

Clock.test.cppFile · 0.80
displayMethod · 0.80
initializeMethod · 0.80
isConnectedMethod · 0.80
updateConnectionsMethod · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected