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

Method getReal

SRC/utility/Timer.cpp:113–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111
112
113double
114Timer::getReal(void) const
115{
116#ifdef TIMER_USE_MPIWTIME
117 return t2 - t1;
118#else //Not TIMER_USE_MPIWTIME
119#ifdef _WIN32
120 // fill in later
121 return 0.0;
122#else // Not _WIN32
123 long clktck = CLK_TCK;
124 double Real = (t2-t1)/(double) clktck;
125 return Real;
126#endif //_WIN32
127#endif //TIMER_USE_MPIWTIME
128}
129
130double
131Timer::getCPU(void) const

Callers 9

mainFunction · 0.80
remeshMethod · 0.80
solveMethod · 0.80
setSizeMethod · 0.80
solveMethod · 0.80
solveMethod · 0.80
setSizeMethod · 0.80
solveMethod · 0.80
setSizeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected