#include <XrdThrottleManager.hh>
Definition at line 160 of file XrdThrottleManager.hh.
◆ ~XrdThrottleTimer()
XrdThrottleTimer::~XrdThrottleTimer |
( |
| ) |
|
|
inline |
◆ XrdThrottleTimer()
Definition at line 203 of file XrdThrottleManager.hh.
206 #if defined(__linux__) || defined(__APPLE__) || defined(__GNU__) || (defined(__FreeBSD_kernel__) && defined(__GLIBC__))
207 int retval = clock_gettime(clock_id, &m_timer);
References unlikely.
◆ StopTimer()
void XrdThrottleTimer::StopTimer |
( |
| ) |
|
|
inline |
Definition at line 167 of file XrdThrottleManager.hh.
169 struct timespec end_timer = {0, 0};
170 #if defined(__linux__) || defined(__APPLE__) || defined(__GNU__) || (defined(__FreeBSD_kernel__) && defined(__GLIBC__))
171 int retval = clock_gettime(clock_id, &end_timer);
177 end_timer.tv_sec -= m_timer.tv_sec;
178 end_timer.tv_nsec -= m_timer.tv_nsec;
179 if (end_timer.tv_nsec < 0)
182 end_timer.tv_nsec += 1000000000;
185 if (m_timer.tv_nsec != -1)
190 m_timer.tv_nsec = -1;
void StopIOTimer(struct timespec)
References likely, and XrdThrottleManager::StopIOTimer().
Referenced by ~XrdThrottleTimer().
◆ XrdThrottleManager
The documentation for this class was generated from the following files: