|
MythTV master
|
#include <algorithm>#include <chrono>#include <iostream>#include <list>#include <thread>#include <sys/param.h>#include <sys/stat.h>#include <sys/time.h>#include <sys/types.h>#include <QStringList>#include <QDateTime>#include <QString>#include <QMutex>#include <QFile>#include <QMap>#include "libmythbase/compat.h"#include "libmythbase/exitcodes.h"#include "libmythbase/mythcorecontext.h"#include "libmythbase/mythdate.h"#include "libmythbase/mythdb.h"#include "libmythbase/mythlogging.h"#include "libmythbase/mythmiscutil.h"#include "libmythbase/mythsorthelper.h"#include "libmythbase/mythsystemlegacy.h"#include "libmythbase/remoteutil.h"#include "libmythbase/storagegroup.h"#include "libmythtv/cardutil.h"#include "libmythtv/jobqueue.h"#include "libmythtv/mythsystemevent.h"#include "libmythtv/recordinginfo.h"#include "libmythtv/recordingrule.h"#include "libmythtv/scheduledrecording.h"#include "libmythtv/tv_rec.h"#include "encoderlink.h"#include "mainserver.h"#include "recordingextender.h"#include "scheduler.h"Go to the source code of this file.
Macros | |
| #define | LOC QString("Scheduler: ") |
| #define | LOC_WARN QString("Scheduler, Warning: ") |
| #define | LOC_ERR QString("Scheduler, Error: ") |
Functions | |
| static bool | Recording (const RecordingInfo *p) |
| static bool | comp_overlap (RecordingInfo *a, RecordingInfo *b) |
| static bool | comp_redundant (RecordingInfo *a, RecordingInfo *b) |
| static bool | comp_recstart (RecordingInfo *a, RecordingInfo *b) |
| static bool | comp_priority (RecordingInfo *a, RecordingInfo *b) |
| static bool | comp_retry (RecordingInfo *a, RecordingInfo *b) |
| static void | erase_nulls (RecList &reclist) |
| static bool | comp_storage_combination (FileSystemInfo *a, FileSystemInfo *b) |
| static bool | comp_storage_perc_free_space (FileSystemInfo *a, FileSystemInfo *b) |
| static bool | comp_storage_free_space (FileSystemInfo *a, FileSystemInfo *b) |
| static bool | comp_storage_disk_io (FileSystemInfo *a, FileSystemInfo *b) |
Variables | |
| static constexpr int64_t | kProgramInUseInterval {61LL * 60} |
| bool | debugConflicts = false |
| static QString | progdupinit |
| static QString | progfindid |
| #define LOC QString("Scheduler: ") |
Definition at line 55 of file scheduler.cpp.
| #define LOC_ERR QString("Scheduler, Error: ") |
Definition at line 57 of file scheduler.cpp.
| #define LOC_WARN QString("Scheduler, Warning: ") |
Definition at line 56 of file scheduler.cpp.
|
static |
Definition at line 231 of file scheduler.cpp.
Referenced by Scheduler::FillRecordList().
|
static |
Definition at line 313 of file scheduler.cpp.
Referenced by Scheduler::FillRecordList().
|
static |
Definition at line 296 of file scheduler.cpp.
Referenced by Scheduler::FillRecordList().
|
static |
Definition at line 273 of file scheduler.cpp.
Referenced by Scheduler::FillRecordList().
|
static |
Definition at line 379 of file scheduler.cpp.
Referenced by Scheduler::SchedNewRetryPass().
|
static |
Definition at line 5092 of file scheduler.cpp.
Referenced by Scheduler::FillRecordingDir().
|
static |
Definition at line 5152 of file scheduler.cpp.
Referenced by Scheduler::FillRecordingDir().
|
static |
Definition at line 5145 of file scheduler.cpp.
Referenced by Scheduler::FillRecordingDir().
|
static |
Definition at line 5129 of file scheduler.cpp.
Referenced by Scheduler::FillRecordingDir().
|
static |
Definition at line 980 of file scheduler.cpp.
Referenced by Scheduler::PruneOverlaps(), and Scheduler::PruneRedundants().
|
inlinestatic |
Definition at line 222 of file scheduler.cpp.
Referenced by V2Program::Copy(), Scheduler::FindNextConflict(), Scheduler::PrintList(), and Scheduler::PruneRedundants().
Definition at line 61 of file scheduler.cpp.
Referenced by Scheduler::FindNextConflict(), and Scheduler::Scheduler().
|
staticconstexpr |
Definition at line 59 of file scheduler.cpp.
Referenced by Scheduler::PutInactiveSlavesToSleep().
|
static |
Definition at line 4012 of file scheduler.cpp.
Referenced by Scheduler::UpdateMatches().
|
static |
Definition at line 4021 of file scheduler.cpp.
Referenced by Scheduler::UpdateMatches().