|
XRootD
|
#include <XrdScheduler.hh>
Inheritance diagram for XrdScheduler:
Collaboration diagram for XrdScheduler:Public Member Functions | |
| XrdScheduler (int minw=3, int maxw=128, int maxi=12) | |
| XrdScheduler (XrdSysError *eP, XrdOucTrace *tP, int minw=8, int maxw=8192, int maxi=780) | |
| XrdScheduler (XrdSysError *eP, XrdSysTrace *tP, int minw=8, int maxw=8192, int maxi=780) | |
| ~XrdScheduler () | |
| int | Active () |
| void | Cancel (XrdJob *jp) |
| int | canStick () |
| void | DoIt () |
| pid_t | Fork (const char *id) |
| void * | Reaper () |
| void | Run () |
| void | Schedule (int num, XrdJob *jfirst, XrdJob *jlast) |
| void | Schedule (XrdJob *jp) |
| void | Schedule (XrdJob *jp, time_t atime) |
| void | setParms (int minw, int maxw, int avlt, int maxi, int once=0) |
| void | Start () |
| int | Stats (char *buff, int blen, int do_sync=0) |
| void | TimeSched () |
Public Member Functions inherited from XrdJob | |
| XrdJob (const char *desc="") | |
| virtual | ~XrdJob () |
Public Attributes | |
| int | max_QLength |
| int | num_Jobs |
| int | num_Limited |
| int | num_TCreate |
| int | num_TDestroy |
Public Attributes inherited from XrdJob | |
| const char * | Comment |
| XrdJob * | NextJob |
Definition at line 45 of file XrdScheduler.hh.
| XrdScheduler::XrdScheduler | ( | XrdSysError * | eP, |
| XrdSysTrace * | tP, | ||
| int | minw = 8, | ||
| int | maxw = 8192, | ||
| int | maxi = 780 ) |
Definition at line 97 of file XrdScheduler.cc.
References XrdJob::XrdJob().
Here is the call graph for this function:| XrdScheduler::XrdScheduler | ( | XrdSysError * | eP, |
| XrdOucTrace * | tP, | ||
| int | minw = 8, | ||
| int | maxw = 8192, | ||
| int | maxi = 780 ) |
Definition at line 108 of file XrdScheduler.cc.
References XrdJob::XrdJob(), and XrdSysError::logger().
Here is the call graph for this function:| XrdScheduler::XrdScheduler | ( | int | minw = 3, |
| int | maxw = 128, | ||
| int | maxi = 12 ) |
Definition at line 123 of file XrdScheduler.cc.
References XrdJob::XrdJob(), fcntl(), Logger, and TRACE_SCHED.
Here is the call graph for this function:| XrdScheduler::~XrdScheduler | ( | ) |
Definition at line 218 of file XrdScheduler.cc.
|
inline |
Definition at line 49 of file XrdScheduler.hh.
| void XrdScheduler::Cancel | ( | XrdJob * | jp | ) |
Definition at line 226 of file XrdScheduler.cc.
References XrdJob::XrdJob(), XrdJob::Comment, XrdJob::NextJob, and TRACE.
Referenced by Schedule(), and setParms().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 53 of file XrdScheduler.hh.
|
virtual |
Implements XrdJob.
Definition at line 256 of file XrdScheduler.cc.
References XrdJob::XrdJob(), Schedule(), and TRACE.
Here is the call graph for this function:| pid_t XrdScheduler::Fork | ( | const char * | id | ) |
Definition at line 286 of file XrdScheduler.cc.
References XrdSysThread::Run(), and XrdStartReaper().
Here is the call graph for this function:| void * XrdScheduler::Reaper | ( | ) |
Definition at line 324 of file XrdScheduler.cc.
References XrdSchedulerPID::next, XrdSchedulerPID::pid, TRACE_SCHED, and TRACING.
Referenced by XrdStartReaper().
Here is the caller graph for this function:| void XrdScheduler::Run | ( | ) |
Definition at line 370 of file XrdScheduler.cc.
References XrdJob::XrdJob(), XrdJob::Comment, XrdJob::DoIt(), XrdJob::NextJob, num_TDestroy, TRACE, TRACE_SCHED, and TRACING.
Referenced by XrdStartWorking().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 445 of file XrdScheduler.cc.
References XrdJob::XrdJob(), max_QLength, XrdJob::NextJob, and num_Jobs.
Here is the call graph for this function:| void XrdScheduler::Schedule | ( | XrdJob * | jp | ) |
Definition at line 414 of file XrdScheduler.cc.
References XrdJob::XrdJob(), max_QLength, XrdJob::NextJob, and num_Jobs.
Referenced by XrdXrootdJob::XrdXrootdJob(), XrdXrootdPrepare::XrdXrootdPrepare(), XrdPollE::Disable(), XrdPollPoll::Disable(), DoIt(), XrdXrootdCallBack::Done(), mainAccept(), mainAdmin(), setParms(), XrdPollE::Start(), XrdPollPoll::Start(), Start(), and TimeSched().
Here is the call graph for this function:
Here is the caller graph for this function:| void XrdScheduler::Schedule | ( | XrdJob * | jp, |
| time_t | atime ) |
Definition at line 480 of file XrdScheduler.cc.
References XrdJob::XrdJob(), Cancel(), XrdJob::Comment, XrdJob::NextJob, TRACE, TRACE_SCHED, and TRACING.
Here is the call graph for this function:| void XrdScheduler::setParms | ( | int | minw, |
| int | maxw, | ||
| int | avlt, | ||
| int | maxi, | ||
| int | once = 0 ) |
Definition at line 515 of file XrdScheduler.cc.
References XrdJob::XrdJob(), Cancel(), Schedule(), and TRACE.
Here is the call graph for this function:| void XrdScheduler::Start | ( | ) |
Definition at line 561 of file XrdScheduler.cc.
References XrdJob::XrdJob(), XrdSysThread::Run(), Schedule(), TRACE, TRACE_SCHED, XrdStartTSched(), and XRDSYSTHREAD_BIND.
Here is the call graph for this function:| int XrdScheduler::Stats | ( | char * | buff, |
| int | blen, | ||
| int | do_sync = 0 ) |
Definition at line 595 of file XrdScheduler.cc.
References max_QLength, num_Jobs, num_Limited, num_TCreate, and num_TDestroy.
| void XrdScheduler::TimeSched | ( | ) |
Definition at line 638 of file XrdScheduler.cc.
References XrdJob::XrdJob(), XrdJob::NextJob, and Schedule().
Referenced by XrdStartTSched().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdScheduler::max_QLength |
Definition at line 81 of file XrdScheduler.hh.
Referenced by Schedule(), Schedule(), and Stats().
| int XrdScheduler::num_Jobs |
Definition at line 80 of file XrdScheduler.hh.
Referenced by Schedule(), Schedule(), and Stats().
| int XrdScheduler::num_Limited |
Definition at line 82 of file XrdScheduler.hh.
Referenced by Stats().
| int XrdScheduler::num_TCreate |
Definition at line 78 of file XrdScheduler.hh.
Referenced by Stats().
| int XrdScheduler::num_TDestroy |
Definition at line 79 of file XrdScheduler.hh.