Home
last modified time | relevance | path

Searched defs:inode_policy (Results 1 – 7 of 7) sorted by relevance

/dports/devel/caf/actor-framework-0.18.5/libcaf_core/test/intrusive/
H A Dwdrr_dynamic_multiplexed_queue.cpp57 struct inode_policy { struct
58 using mapped_type = inode;
60 using key_type = int;
62 using task_size_type = int;
64 using deficit_type = int;
66 using deleter_type = std::default_delete<mapped_type>;
70 using queue_type = drr_queue<nested_inode_policy>;
74 static key_type id_of(const inode& x) noexcept { in id_of()
78 static bool enabled(const queue_type&) noexcept { in enabled()
86 static void cleanup(queue_type&) noexcept { in cleanup()
[all …]
H A Dwdrr_fixed_multiplexed_queue.cpp34 struct inode_policy { struct
35 using mapped_type = inode;
37 using task_size_type = int;
39 using deficit_type = int;
41 using deleter_type = std::default_delete<mapped_type>;
45 static inline task_size_type task_size(const mapped_type&) { in task_size()
49 static inline size_t id_of(const inode& x) { in id_of()
54 deficit_type quantum(const Queue&, deficit_type x) { in quantum()
58 deficit_type quantum(const high_prio_queue&, deficit_type x) { in quantum()
62 bool enable_priorities = false;
[all …]
H A Dfifo_inbox.cpp32 struct inode_policy { struct
33 using mapped_type = inode;
35 using task_size_type = int;
37 using deficit_type = int;
39 using deleter_type = std::default_delete<mapped_type>;
41 using unique_pointer = std::unique_ptr<mapped_type, deleter_type>;
43 using queue_type = drr_queue<inode_policy>;
45 static constexpr task_size_type task_size(const inode&) noexcept { in task_size()
H A Ddrr_queue.cpp31 struct inode_policy { struct
32 using mapped_type = inode;
34 using task_size_type = int;
36 using deficit_type = int;
38 using deleter_type = std::default_delete<mapped_type>;
40 using unique_pointer = std::unique_ptr<mapped_type, deleter_type>;
42 static inline task_size_type task_size(const mapped_type& x) { in task_size()
H A Dtask_queue.cpp31 struct inode_policy { struct
32 using mapped_type = inode;
34 using task_size_type = int;
36 using deleter_type = std::default_delete<mapped_type>;
38 using unique_pointer = std::unique_ptr<mapped_type, deleter_type>;
40 static inline task_size_type task_size(const mapped_type& x) { in task_size()
H A Dlifo_inbox.cpp31 struct inode_policy { struct
32 using mapped_type = inode;
34 using task_size_type = int;
36 using deficit_type = int;
38 using deleter_type = std::default_delete<mapped_type>;
40 using unique_pointer = std::unique_ptr<mapped_type, deleter_type>;
H A Ddrr_cached_queue.cpp31 struct inode_policy { struct
32 using mapped_type = inode;
34 using task_size_type = int;
36 using deficit_type = int;
38 using deleter_type = std::default_delete<mapped_type>;
40 using unique_pointer = std::unique_ptr<mapped_type, deleter_type>;
42 static inline task_size_type task_size(const mapped_type&) noexcept { in task_size()