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

Method pause

SRC/utility/Timer.cpp:94–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94void
95Timer::pause(void)
96{
97#ifdef TIMER_USE_MPIWTIME
98 t2 = MPI_Wtime();
99#else // not TIMER_USE_MPIWTIME
100#ifdef _WIN32
101 // fill in later
102 SYSTEMTIME st;
103 GetSystemTime(&st);
104 opserr << "Timer::stop (hr:min:millisec): " << (int)st.wHour << ":" << (int)st.wMinute << ":" << (int)st.wMilliseconds << endln;
105#else // Not _WIN32
106 t2 = times(&tmsend);
107 getrusage(0,r2us);
108#endif // _WIN32
109#endif // TIMER_USE_MPIWTIME
110}
111
112
113double

Callers 13

mainFunction · 0.80
remeshMethod · 0.80
OPS_stopTimerFunction · 0.80
solveMethod · 0.80
solveMethod · 0.80
setSizeMethod · 0.80
solveMethod · 0.80
solveMethod · 0.80
setSizeMethod · 0.80
solveMethod · 0.80
setSizeMethod · 0.80
stopTimerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected