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

Method reset

src/SFML/System/Clock.cpp:80–86  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

78
79////////////////////////////////////////////////////////////
80Time Clock::reset()
81{
82 const Time elapsed = getElapsedTime();
83 m_refPoint = priv::ClockImpl::now();
84 m_stopPoint = m_refPoint;
85 return elapsed;
86}
87
88} // namespace sf

Callers 15

Clock.test.cppFile · 0.80
closeMethod · 0.80
closeMethod · 0.80
closeMethod · 0.80
WindowImplX11.cppFile · 0.80
ewmhSupportedFunction · 0.80
setIconMethod · 0.80
requestFocusMethod · 0.80
setWindowGroupIdsMethod · 0.80
openDisplayFunction · 0.80
openXimFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected