/freebsd/contrib/kyua/engine/ |
H A D | scheduler_test.cpp | 75 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 D | scheduler.cpp | 78 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 D | kyuafile_test.cpp | 60 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 D | plain_test.cpp | 55 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 D | tap_test.cpp | 55 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 D | atf_test.cpp | 59 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 D | kyuafile.cpp | 58 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 D | scheduler_fwd.hpp | 38 namespace scheduler { namespace
|
H A D | kyuafile.hpp | 86 scheduler::scheduler_handle&);
|
/freebsd/contrib/netbsd-tests/lib/libc/gen/posix_spawn/ |
H A D | t_spawnattr.c | 46 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 D | dummynet.txt | 20 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 D | prutil.c | 18 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 D | run_tests.cpp | 59 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 D | debug_test.cpp | 48 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 D | list_tests.cpp | 41 namespace scheduler = engine::scheduler; 68 scheduler::scheduler_handle handle = scheduler::setup(); in drive()
|
H A D | list_tests_test.cpp | 61 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 D | syntax_test.cpp | 52 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 D | main.cpp | 85 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 D | altq.h | 92 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 D | pf_altq.h | 132 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 D | pfctl_altq.c | 223 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 D | pfctl_qstats.c | 172 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 D | check-api-docs.awk | 44 /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 D | RISCVScheduleZb.td | 9 /// 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 D | da8xx-usb.txt | 35 - reg-names: "controller", "scheduler", "queuemgr" 75 reg-names = "controller", "scheduler", "queuemgr";
|