Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
scheduler-diagnostics.hpp
Go to the documentation of this file.
1/*
2 SCHEDULER-DIAGNOSTICS.hpp - diagnostic facility to investigate scheduler operation
3
4 Copyright (C)
5 2013, Hermann Vosseler <Ichthyostega@web.de>
6
7  **Lumiera** is free software; you can redistribute it and/or modify it
8  under the terms of the GNU General Public License as published by the
9  Free Software Foundation; either version 2 of the License, or (at your
10  option) any later version. See the file COPYING for further details.
11
12*/
13
28#ifndef VAULT_GEAR_SCHEDULER_DIAGNOSTICS_H
29#define VAULT_GEAR_SCHEDULER_DIAGNOSTICS_H
30
31
32#include "lib/error.hpp"
33#include "lib/nocopy.hpp"
34#include "lib/hash-value.h"
37
38
39namespace vault{
40namespace gear {
41
42// using std::string;
43 using lib::time::Time;
44 using lib::HashVal;
45
46
47
48
49 /***************************************************************/
62 {
64
65 public:
71
76
79 bool
80 is_scheduled_timebound (HashVal jobID)
81 {
82 UNIMPLEMENTED ("query the scheduler to determine if the given job is planned for time-bound operation");
83 }
84
85 bool
87 {
88 UNIMPLEMENTED ("query the scheduler to determine if the given job is planned for freewheeling operation");
89 }
90
91 bool
93 {
94 UNIMPLEMENTED ("query the scheduler to determine if the given job is planned for background execution");
95 }
96
97 bool
99 {
100 return is_scheduled_timebound (hash_value (job));
101 }
102
103 bool
105 {
107 }
108
109 bool
111 {
112 return is_scheduled_background (hash_value (job));
113 }
114
115 bool
117 {
120
121 UNIMPLEMENTED ("query for job scheduled for specific deadline");
122 }
123
124 Job const&
125 job_at (Time deadline)
126 {
127 UNIMPLEMENTED ("query for job scheduled for specific deadline");
128 }
129 };
130
131
132
133
134
135
136}} // namespace vault::gear
137#endif /*VAULT_GEAR_SCHEDULER_DIAGNOSTICS_H*/
Lumiera's internal time value datatype.
Any copy and copy construction prohibited.
Definition nocopy.hpp:38
Individual frame rendering task, forwarding to a closure.
Definition job.h:276
Render engine diagnostic facility.
Access point to the scheduler service provided by the back-end.
void activateTracing()
Switch the complete engine into diagnostics mode.
Lumiera error handling (C++ interface).
Hash value types and utilities.
size_t HashVal
a STL compatible hash value
Definition hash-value.h:52
HashVal hash_value(ManifestationID const &id)
Vault-Layer implementation namespace root.
Mix-Ins to allow or prohibit various degrees of copying and cloning.
Scheduler service access point for higher layers.
a family of time value like entities and their relationships.