Home
last modified time | relevance | path

Searched refs:scheduler (Results 1 – 25 of 122) sorted by relevance

12345

/freebsd/contrib/kyua/engine/
H A Dscheduler_test.cpp75 namespace scheduler = engine::scheduler;
122 class mock_interface : public scheduler::interface {
476 scheduler::scheduler_handle handle = scheduler::setup(); in check_integration_list()
520 scheduler::list_timeout = datetime::delta(1, 0); in ATF_TEST_CASE_BODY()
571 scheduler::scheduler_handle handle = scheduler::setup(); in ATF_TEST_CASE_BODY()
573 const scheduler::exec_handle exec_handle = handle.spawn_test( in ATF_TEST_CASE_BODY()
576 scheduler::result_handle_ptr result_handle = handle.wait_any(); in ATF_TEST_CASE_BODY()
577 const scheduler::test_result_handle* test_result_handle = in ATF_TEST_CASE_BODY()
578 dynamic_cast< const scheduler::test_result_handle* >( in ATF_TEST_CASE_BODY()
597 scheduler::scheduler_handle handle = scheduler::setup(); in ATF_TEST_CASE_BODY()
[all …]
H A Dscheduler.cpp78 namespace scheduler = engine::scheduler;
89 datetime::delta scheduler::cleanup_timeout(60, 0);
93 datetime::delta scheduler::execenv_cleanup_timeout(60, 0);
100 datetime::delta scheduler::list_timeout(300, 0);
123 typedef std::map< std::string, std::shared_ptr< scheduler::interface > >
202 const std::shared_ptr< scheduler::interface > interface;
242 const std::shared_ptr< scheduler::interface > interface_, in test_exec_data()
369 std::shared_ptr< scheduler::interface > _interface;
384 const std::shared_ptr< scheduler::interface > interface, in list_test_cases()
397 const config::properties_map vars = scheduler::generate_config( in operator ()()
[all …]
H A Dkyuafile_test.cpp60 namespace scheduler = engine::scheduler;
68 scheduler::scheduler_handle handle = scheduler::setup(); in ATF_TEST_CASE_BODY()
85 scheduler::scheduler_handle handle = scheduler::setup(); in ATF_TEST_CASE_BODY()
156 scheduler::scheduler_handle handle = scheduler::setup(); in ATF_TEST_CASE_BODY()
158 std::shared_ptr< scheduler::interface > mock_interface( in ATF_TEST_CASE_BODY()
161 scheduler::register_interface("some", mock_interface); in ATF_TEST_CASE_BODY()
162 scheduler::register_interface("random", mock_interface); in ATF_TEST_CASE_BODY()
163 scheduler::register_interface("names", mock_interface); in ATF_TEST_CASE_BODY()
199 scheduler::scheduler_handle handle = scheduler::setup(); in ATF_TEST_CASE_BODY()
245 scheduler::scheduler_handle handle = scheduler::setup(); in ATF_TEST_CASE_BODY()
[all …]
H A Dplain_test.cpp55 namespace scheduler = engine::scheduler;
95 scheduler::scheduler_handle handle = scheduler::setup(); in run_one()
98 scheduler::result_handle_ptr result_handle = handle.wait_any(); in run_one()
99 const scheduler::test_result_handle* test_result_handle = in run_one()
100 dynamic_cast< const scheduler::test_result_handle* >( in run_one()
122 scheduler::scheduler_handle handle = scheduler::setup(); in ATF_TEST_CASE_BODY()
196 scheduler::register_interface( in ATF_INIT_TEST_CASES()
197 "plain", std::shared_ptr< scheduler::interface >( in ATF_INIT_TEST_CASES()
H A Dtap_test.cpp55 namespace scheduler = engine::scheduler;
95 scheduler::scheduler_handle handle = scheduler::setup(); in run_one()
98 scheduler::result_handle_ptr result_handle = handle.wait_any(); in run_one()
99 const scheduler::test_result_handle* test_result_handle = in run_one()
100 dynamic_cast< const scheduler::test_result_handle* >( in run_one()
122 scheduler::scheduler_handle handle = scheduler::setup(); in ATF_TEST_CASE_BODY()
206 scheduler::register_interface( in ATF_INIT_TEST_CASES()
207 "tap", std::shared_ptr< scheduler::interface >( in ATF_INIT_TEST_CASES()
H A Datf_test.cpp59 namespace scheduler = engine::scheduler;
82 scheduler::scheduler_handle handle = scheduler::setup(); in list_one()
84 const scheduler::lazy_test_program program( in list_one()
140 scheduler::scheduler_handle handle = scheduler::setup(); in run_one()
142 const model::test_program_ptr program(new scheduler::lazy_test_program( in run_one()
149 scheduler::result_handle_ptr result_handle = handle.wait_any(); in run_one()
150 const scheduler::test_result_handle* test_result_handle = in run_one()
151 dynamic_cast< const scheduler::test_result_handle* >( in run_one()
389 scheduler::cleanup_timeout = datetime::delta(1, 0); in ATF_TEST_CASE_BODY()
425 scheduler::register_interface( in ATF_INIT_TEST_CASES()
[all …]
H A Dkyuafile.cpp58 namespace scheduler = engine::scheduler;
186 scheduler::scheduler_handle& scheduler_handle) : in parser()
202 *_state.new_userdata< scheduler::scheduler_handle* >() = in parser()
211 scheduler::registered_interface_names(); in parser()
218 *_state.new_userdata< scheduler::scheduler_handle* >() = in parser()
273 scheduler::scheduler_handle& scheduler_handle) in callback_include()
330 scheduler::scheduler_handle& scheduler_handle) in callback_test_program()
349 new scheduler::lazy_test_program(interface, path, _build_root, in callback_test_program()
436 scheduler::scheduler_handle* scheduler_handle = in lua_generic_test_program()
437 *state.to_userdata< scheduler::scheduler_handle* >( in lua_generic_test_program()
[all …]
H A Dscheduler_fwd.hpp38 namespace scheduler { namespace
H A Dkyuafile.hpp86 scheduler::scheduler_handle&);
/freebsd/contrib/netbsd-tests/lib/libc/gen/posix_spawn/
H A Dt_spawnattr.c46 static int get_different_priority(int scheduler);
58 int scheduler; in get_different_scheduler() local
61 scheduler = sched_getscheduler(0); in get_different_scheduler()
63 if (schedulers[i] == scheduler) in get_different_scheduler()
67 "Unknown current scheduler %d", scheduler); in get_different_scheduler()
77 get_different_priority(int scheduler) in get_different_priority() argument
82 max = sched_get_priority_max(scheduler); in get_different_priority()
83 min = sched_get_priority_min(scheduler); in get_different_priority()
109 int pid, scheduler, child_scheduler, priority, status, err, pfd[2]; in ATF_TC_BODY() local
126 scheduler = get_different_scheduler(); in ATF_TC_BODY()
[all …]
/freebsd/sys/netpfil/ipfw/
H A Ddummynet.txt20 Add a scheduler
26 Delete a scheduler
31 How to implement a new scheduler
51 Flowsets are then passed to a scheduler for processing. The
58 "sched 10" represents one or more scheduler instances,
67 collect packets into independent flows on each scheduler.
92 Main parameters are the scheduler we attach to, a flow_mask,
93 buckets, queue size, plr, weight, and other scheduler-specific
101 defines a scheduler (and a link attached to it).
102 Parameters include scheduler type, sched_mask, number of
[all …]
/freebsd/tools/regression/p1003_1b/
H A Dprutil.c18 char *sched_text(int scheduler) in sched_text() argument
20 switch(scheduler) in sched_text()
38 int scheduler; in sched_is() local
44 scheduler = sched_getscheduler(0); in sched_is()
51 if (shouldbe != -1 && scheduler != shouldbe) in sched_is()
55 line, sched_text(shouldbe), sched_text(scheduler)); in sched_is()
60 return scheduler; in sched_is()
/freebsd/contrib/kyua/drivers/
H A Drun_tests.cpp59 namespace scheduler = engine::scheduler;
121 const scheduler::test_result_handle& result, in put_test_result()
139 safe_cleanup(scheduler::test_result_handle handle) throw() in safe_cleanup()
165 start_test(scheduler::scheduler_handle& handle, in start_test()
182 const scheduler::exec_handle exec_handle = handle.spawn_test( in start_test()
197 finish_test(scheduler::result_handle_ptr result_handle, in finish_test()
202 const scheduler::test_result_handle* test_result_handle = in finish_test()
203 dynamic_cast< const scheduler::test_result_handle* >( in finish_test()
261 scheduler::scheduler_handle handle = scheduler::setup(); in drive()
269 const model::context context = scheduler::current_context(); in drive()
[all …]
H A Ddebug_test.cpp48 namespace scheduler = engine::scheduler;
73 scheduler::scheduler_handle handle = scheduler::setup(); in drive()
95 scheduler::result_handle_ptr result_handle = handle.debug_test( in drive()
98 const scheduler::test_result_handle* test_result_handle = in drive()
99 dynamic_cast< const scheduler::test_result_handle* >( in drive()
H A Dlist_tests.cpp41 namespace scheduler = engine::scheduler;
68 scheduler::scheduler_handle handle = scheduler::setup(); in drive()
H A Dlist_tests_test.cpp61 namespace scheduler = engine::scheduler;
277 scheduler::register_interface( in ATF_INIT_TEST_CASES()
278 "atf", std::shared_ptr< scheduler::interface >( in ATF_INIT_TEST_CASES()
/freebsd/contrib/kyua/examples/
H A Dsyntax_test.cpp52 namespace scheduler = engine::scheduler;
127 scheduler::scheduler_handle handle = scheduler::setup(); in ATF_TEST_CASE_BODY()
154 scheduler::scheduler_handle handle = scheduler::setup(); in ATF_TEST_CASE_BODY()
202 scheduler::register_interface( in ATF_INIT_TEST_CASES()
203 "plain", std::shared_ptr< scheduler::interface >( in ATF_INIT_TEST_CASES()
/freebsd/contrib/kyua/cli/
H A Dmain.cpp85 namespace scheduler = engine::scheduler;
102 scheduler::register_interface( in register_scheduler_interfaces()
103 "atf", std::shared_ptr< scheduler::interface >( in register_scheduler_interfaces()
105 scheduler::register_interface( in register_scheduler_interfaces()
106 "plain", std::shared_ptr< scheduler::interface >( in register_scheduler_interfaces()
108 scheduler::register_interface( in register_scheduler_interfaces()
109 "tap", std::shared_ptr< scheduler::interface >( in register_scheduler_interfaces()
/freebsd/sys/net/altq/
H A Daltq.h92 static inline int altq_stats_version(int scheduler) in altq_stats_version() argument
94 switch (scheduler) { in altq_stats_version()
/freebsd/sys/netpfil/pf/
H A Dpf_altq.h132 uint8_t scheduler; /* scheduler type */ member
164 uint8_t scheduler; /* scheduler type */ member
200 uint8_t scheduler; /* scheduler type */ member
/freebsd/sbin/pfctl/
H A Dpfctl_altq.c223 switch (a->scheduler) { in print_altq()
274 if (a->scheduler == ALTQT_CBQ || a->scheduler == ALTQT_HFSC || in print_queue()
275 a->scheduler == ALTQT_FAIRQ) { in print_queue()
286 switch (a->scheduler) { in print_queue()
326 if ((pa->scheduler != ALTQT_HFSC) && (pa->ifbandwidth > UINT_MAX)) { in eval_pfaltq()
364 switch (if_ppa->pa.scheduler) { in check_commit_altq()
400 pa->scheduler = if_ppa->pa.scheduler; in eval_pfqueue()
423 if (pa->scheduler == ALTQT_CBQ || pa->scheduler == ALTQT_HFSC || in eval_pfqueue()
424 pa->scheduler == ALTQT_FAIRQ) { in eval_pfqueue()
441 if ((parent != NULL) && (pa->scheduler != ALTQT_HFSC)) { in eval_pfqueue()
[all …]
H A Dpfctl_qstats.c172 if ((pa.altq.qid > 0 || pa.altq.scheduler == ALTQT_CODEL) &&
181 pq.version = altq_stats_version(pa.altq.scheduler);
311 if (a->altq.qid == 0 && a->altq.scheduler != ALTQT_CODEL)
318 switch (a->altq.scheduler) {
461 if (a->altq.qid == 0 && a->altq.scheduler != ALTQT_CODEL)
467 switch (a->altq.scheduler) {
/freebsd/contrib/kyua/admin/
H A Dcheck-api-docs.awk44 /engine\/scheduler\.hpp.*Member setup\(void\).*friend/ {next}
45 /engine\/scheduler\.hpp.*Member wait_any\(void\)/ {next}
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVScheduleZb.td9 /// Define scheduler resources associated with def operands.
48 /// Define scheduler resources associated with use operands.
85 /// Define default scheduler resources for B.
/freebsd/sys/contrib/device-tree/Bindings/usb/
H A Dda8xx-usb.txt35 - reg-names: "controller", "scheduler", "queuemgr"
75 reg-names = "controller", "scheduler", "queuemgr";

12345