|
def | __init__ (self, check_cancelled, maxjobs, maxjobs_cpu_agnostic, newline_on_success, travis, stop_on_failure, add_env, quiet_success, max_time) |
|
def | cancelled (self) |
|
def | cpu_cost (self) |
|
def | finish (self) |
|
def | get_num_failures (self) |
|
def | reap (self, waiting_for=None, waiting_for_cost=None) |
|
def | set_remaining (self, remaining) |
|
def | start (self, spec) |
|
Manages one run of jobs.
Definition at line 423 of file jobset.py.
◆ __init__()
def python_utils.jobset.Jobset.__init__ |
( |
|
self, |
|
|
|
check_cancelled, |
|
|
|
maxjobs, |
|
|
|
maxjobs_cpu_agnostic, |
|
|
|
newline_on_success, |
|
|
|
travis, |
|
|
|
stop_on_failure, |
|
|
|
add_env, |
|
|
|
quiet_success, |
|
|
|
max_time |
|
) |
| |
◆ cancelled()
def python_utils.jobset.Jobset.cancelled |
( |
|
self | ) |
|
Poll for cancellation.
Definition at line 533 of file jobset.py.
◆ cpu_cost()
def python_utils.jobset.Jobset.cpu_cost |
( |
|
self | ) |
|
◆ finish()
def python_utils.jobset.Jobset.finish |
( |
|
self | ) |
|
◆ get_num_failures()
def python_utils.jobset.Jobset.get_num_failures |
( |
|
self | ) |
|
◆ reap()
def python_utils.jobset.Jobset.reap |
( |
|
self, |
|
|
|
waiting_for = None , |
|
|
|
waiting_for_cost = None |
|
) |
| |
Collect the dead jobs.
Definition at line 486 of file jobset.py.
◆ set_remaining()
def python_utils.jobset.Jobset.set_remaining |
( |
|
self, |
|
|
|
remaining |
|
) |
| |
◆ start()
def python_utils.jobset.Jobset.start |
( |
|
self, |
|
|
|
spec |
|
) |
| |
Start a job. Return True on success, False on failure.
Definition at line 458 of file jobset.py.
◆ _add_env
python_utils.jobset.Jobset._add_env |
|
private |
◆ _cancelled
python_utils.jobset.Jobset._cancelled |
|
private |
◆ _check_cancelled
python_utils.jobset.Jobset._check_cancelled |
|
private |
◆ _completed
python_utils.jobset.Jobset._completed |
|
private |
◆ _failures
python_utils.jobset.Jobset._failures |
|
private |
◆ _max_time
python_utils.jobset.Jobset._max_time |
|
private |
◆ _maxjobs
python_utils.jobset.Jobset._maxjobs |
|
private |
◆ _maxjobs_cpu_agnostic
python_utils.jobset.Jobset._maxjobs_cpu_agnostic |
|
private |
◆ _newline_on_success
python_utils.jobset.Jobset._newline_on_success |
|
private |
◆ _quiet_success
python_utils.jobset.Jobset._quiet_success |
|
private |
◆ _remaining
python_utils.jobset.Jobset._remaining |
|
private |
◆ _running
python_utils.jobset.Jobset._running |
|
private |
◆ _start_time
python_utils.jobset.Jobset._start_time |
|
private |
◆ _stop_on_failure
python_utils.jobset.Jobset._stop_on_failure |
|
private |
◆ _travis
python_utils.jobset.Jobset._travis |
|
private |
◆ resultset
python_utils.jobset.Jobset.resultset |
The documentation for this class was generated from the following file: