Lumiera  0.pre.03
»edityourfreedom«
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
SchedulerDiagnostics Class Reference

#include "backend/engine/scheduler-diagnostics.hpp"

Description

Render engine diagnostic facility.

Creating an instance will activate additional tracing and diagnostic facilities within the scheduler implementation; results may be investigated through SchedulerDiagnostics public functions. The object acts like a smart handle, i.e. the tracing facilities will be disabled and disconnected when going out of scope.

Warning
not reentrant, no reference-counting. At any given time, at most a single instance of SchedulerDiagnostics may be used.

Definition at line 68 of file scheduler-diagnostics.hpp.

Public Member Functions

 SchedulerDiagnostics (SchedulerFrontend &sch)
 
 ~SchedulerDiagnostics ()
 
bool has_job_scheduled_at (Time deadline)
 
bool is_scheduled_background (HashVal jobID)
 
bool is_scheduled_background (Job const &job)
 
bool is_scheduled_freewheeling (HashVal jobID)
 
bool is_scheduled_freewheeling (Job const &job)
 
bool is_scheduled_timebound (HashVal jobID)
 
bool is_scheduled_timebound (Job const &job)
 
Job const & job_at (Time deadline)
 

Private Attributes

SchedulerFrontendscheduler_
 

Additional Inherited Members

- Private Member Functions inherited from NonCopyable
 NonCopyable ()=default
 
 NonCopyable (NonCopyable const &)=delete
 
 ~NonCopyable ()=default
 
NonCopyableoperator= (NonCopyable const &)=delete
 

Constructor & Destructor Documentation

Definition at line 74 of file scheduler-diagnostics.hpp.

References SchedulerFrontend::activateTracing().

+ Here is the call graph for this function:

~SchedulerDiagnostics ( )
inline

Definition at line 80 of file scheduler-diagnostics.hpp.

References SchedulerFrontend::disableTracing().

+ Here is the call graph for this function:

Member Function Documentation

bool is_scheduled_timebound ( HashVal  jobID)
inline

Definition at line 88 of file scheduler-diagnostics.hpp.

Referenced by SchedulerDiagnostics::is_scheduled_timebound(), SchedulerInterface_test::verify_job_specification_variations(), and SchedulerInterface_test::verify_simple_job_specification().

+ Here is the caller graph for this function:

bool is_scheduled_freewheeling ( HashVal  jobID)
inline

Definition at line 94 of file scheduler-diagnostics.hpp.

Referenced by SchedulerDiagnostics::is_scheduled_freewheeling(), SchedulerInterface_test::verify_job_specification_variations(), and SchedulerInterface_test::verify_simple_job_specification().

+ Here is the caller graph for this function:

bool is_scheduled_background ( HashVal  jobID)
inline

Definition at line 100 of file scheduler-diagnostics.hpp.

Referenced by SchedulerDiagnostics::is_scheduled_background(), SchedulerInterface_test::verify_job_specification_variations(), and SchedulerInterface_test::verify_simple_job_specification().

+ Here is the caller graph for this function:

bool is_scheduled_timebound ( Job const &  job)
inline

Definition at line 106 of file scheduler-diagnostics.hpp.

References backend::engine::hash_value(), and SchedulerDiagnostics::is_scheduled_timebound().

+ Here is the call graph for this function:

bool is_scheduled_freewheeling ( Job const &  job)
inline

Definition at line 112 of file scheduler-diagnostics.hpp.

References backend::engine::hash_value(), and SchedulerDiagnostics::is_scheduled_freewheeling().

+ Here is the call graph for this function:

bool is_scheduled_background ( Job const &  job)
inline

Definition at line 118 of file scheduler-diagnostics.hpp.

References backend::engine::hash_value(), and SchedulerDiagnostics::is_scheduled_background().

+ Here is the call graph for this function:

bool has_job_scheduled_at ( Time  deadline)
inline

Definition at line 124 of file scheduler-diagnostics.hpp.

Referenced by SchedulerInterface_test::demonstrate_nested_job_specification().

+ Here is the caller graph for this function:

Job const& job_at ( Time  deadline)
inline

Definition at line 133 of file scheduler-diagnostics.hpp.

Referenced by SchedulerInterface_test::demonstrate_nested_job_specification().

+ Here is the caller graph for this function:

Member Data Documentation

SchedulerFrontend& scheduler_
private

Definition at line 71 of file scheduler-diagnostics.hpp.

+ Inheritance diagram for SchedulerDiagnostics:
+ Collaboration diagram for SchedulerDiagnostics:

The documentation for this class was generated from the following file: