Returns the number of milliseconds that have passed since SIPp started. Also updates the current clock_tick.
| 89 | // Returns the number of milliseconds that have passed since SIPp |
| 90 | // started. Also updates the current clock_tick. |
| 91 | unsigned long getmilliseconds() |
| 92 | { |
| 93 | return getmicroseconds() / MICROSECONDS_PER_MILLISECOND; |
| 94 | } |
| 95 | |
| 96 | // Sleeps for the given number of microseconds. Avoids the potential |
| 97 | // EINVAL when using usleep() to sleep for a second or more. |
no test coverage detected