MCPcopy Create free account
hub / github.com/OpenSees/OpenSees / stopTimer

Function stopTimer

SRC/runtime/commands/interpreter.cpp:57–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57static int
58stopTimer(ClientData clientData, Tcl_Interp *interp, Tcl_Size argc, TCL_Char ** const argv)
59{
60 if (theTimer == nullptr)
61 return TCL_OK;
62
63 theTimer->pause();
64 opserr << *theTimer;
65 return TCL_OK;
66}
67
68static int
69timer(ClientData clientData, Tcl_Interp* interp, Tcl_Size argc, TCL_Char** const argv)

Callers 1

timerFunction · 0.70

Calls 1

pauseMethod · 0.80

Tested by

no test coverage detected