| 92 | } |
| 93 | |
| 94 | void |
| 95 | Timer::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 | |
| 113 | double |
no outgoing calls
no test coverage detected