/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 …]
|
H A D | dn_sched.h | 41 * Contains all function pointers for a given scheduler 46 uint32_t type; /* the scheduler type */ 47 const char *name; /* scheduler name */ 53 * to each of the base data structures: scheduler, sched.inst, 69 * Methods implemented by the scheduler: 70 * enqueue enqueue packet 'm' on scheduler 's', queue 'q'. 75 * scheduler will normally enqueue m into q, it is ok 78 * - when a new packet arrives to the scheduler; 79 * - when a scheduler is reconfigured. In this case the 86 * dequeue Called when scheduler instance 's' can [all …]
|
H A D | ip_dn_private.h | 145 /* list of flowsets without a scheduler -- use sch_chain */ 183 * Every scheduler instance has one. 193 * of flowsets, and in a list of children of their parent scheduler. 198 * XXX If we want to add scheduler-specific parameters, we need to 199 * put them in external storage because the scheduler may not be 244 * a !MULTIQUEUE scheduler. It is normally in a hash table in the 247 * detached from the scheduler -- in this case si == NULL and we 253 struct dn_sch_inst *_si; /* owner scheduler instance */ 269 * The kernel side of a scheduler. Contains the userland config, 271 * kernel flags, and a pointer to the scheduler methods. [all …]
|
/freebsd/contrib/kyua/engine/ |
H A D | scheduler_test.cpp | 29 #include "engine/scheduler.hpp" 75 namespace scheduler = engine::scheduler; 120 /// This scheduler interface does not execute external binaries. It is designed 121 /// to simulate the scheduler of various programs with different exit statuses. 122 class mock_interface : public scheduler::interface { 128 /// scheduler state by mistake. This wouldn't be a major problem if it 156 /// separate from any control files that the scheduler may have created. 462 /// Runs list_tests on the scheduler and returns the results. 476 scheduler::scheduler_handle handle = scheduler::setup(); in check_integration_list() 520 scheduler::list_timeout = datetime::delta(1, 0); in ATF_TEST_CASE_BODY() [all …]
|
H A D | scheduler.cpp | 29 #include "engine/scheduler.hpp" 79 namespace scheduler = engine::scheduler; 90 datetime::delta scheduler::cleanup_timeout(300, 0); 94 datetime::delta scheduler::execenv_cleanup_timeout(300, 0); 101 datetime::delta scheduler::list_timeout(300, 0); 124 typedef std::map< std::string, std::shared_ptr< scheduler::interface > > 171 /// scheduler::spawn_test() or scheduler::impl::spawn_cleanup() to when it is 203 const std::shared_ptr< scheduler::interface > interface; 243 const std::shared_ptr< scheduler::interface > interface_, in test_exec_data() 262 /// the correct exit_handle to the user of the scheduler. [all …]
|
H A D | kyuafile_test.cpp | 46 #include "engine/scheduler.hpp" 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() [all …]
|
H A D | plain_test.cpp | 38 #include "engine/scheduler.hpp" 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 | 38 #include "engine/scheduler.hpp" 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 | 40 #include "engine/scheduler.hpp" 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() [all …]
|
H A D | kyuafile.cpp | 41 #include "engine/scheduler.hpp" 58 namespace scheduler = engine::scheduler; 181 /// \param scheduler_handle The scheduler context to use for loading the 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() 269 /// \param scheduler_handle Scheduler context to run test programs in. 273 scheduler::scheduler_handle& scheduler_handle) in callback_include() 320 /// \param scheduler_handle Scheduler context to run test programs in. [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/MCA/HardwareUnits/ |
H A D | Scheduler.cpp | 1 //===--------------------- Scheduler.cpp ------------------------*- C++ -*-===// 9 // A scheduler for processor resource units and processor resource groups. 13 #include "llvm/MCA/HardwareUnits/Scheduler.h" 22 void Scheduler::initializeStrategy(std::unique_ptr<SchedulerStrategy> S) { in initializeStrategy() 32 void Scheduler::dump() const { in dump() 33 dbgs() << "[SCHEDULER]: WaitSet size is: " << WaitSet.size() << '\n'; in dump() 34 dbgs() << "[SCHEDULER]: ReadySet size is: " << ReadySet.size() << '\n'; in dump() 35 dbgs() << "[SCHEDULER]: IssuedSet size is: " << IssuedSet.size() << '\n'; in dump() 40 Scheduler::Status Scheduler [all...] |
/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() 69 /* new 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() 104 "Tests posix_spawn with scheduler attributes"); in ATF_TC_HEAD() [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() 32 return "Illegal scheduler value"; in sched_text() 38 int scheduler; in sched_is() local 41 /* What scheduler are we running now? in sched_is() 44 scheduler = sched_getscheduler(0); in sched_is() 51 if (shouldbe != -1 && scheduler != shouldbe) in sched_is() 54 "At line %d the scheduler should be %s yet it is %s.\n", in sched_is() 55 line, sched_text(shouldbe), sched_text(scheduler)); in sched_is() 60 return scheduler; in sched_is()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/MCA/HardwareUnits/ |
H A D | Scheduler.h | 1 //===--------------------- Scheduler.h ------------------------*- C++ -*-===// 10 /// A scheduler for Processor Resource Units and Processor Resource Groups. 34 /// This method is used by class Scheduler to select the "best" ready 39 /// Default instruction selection strategy used by class Scheduler. 63 /// Class Scheduler is responsible for issuing instructions to pipeline 70 class Scheduler : public HardwareUnit { 73 // Instruction selection strategy for this Scheduler. 76 // Hardware resources that are managed by this scheduler. 79 // Instructions dispatched to the Scheduler are internally classified based on 82 // An Instruction dispatched to the Scheduler i 157 Scheduler(const MCSchedModel &Model, LSUnitBase &Lsu) Scheduler() function 160 Scheduler(const MCSchedModel &Model, LSUnitBase &Lsu, Scheduler() function 165 Scheduler(std::unique_ptr<ResourceManager> RM, LSUnitBase &Lsu, Scheduler() function [all...] |
/freebsd/sys/netinet/ |
H A D | ip_dummynet.h | 93 DN_SCH_PARAMS, /* scheduler extra params */ 139 * from the command line: id, target scheduler, queue sizes, plr, 140 * flow masks, buckets for the flow hash, and possibly scheduler- 152 uint32_t sched_nr; /* the scheduler we attach to */ 153 /* generic scheduler parameters. Leave them at -1 if unset. 175 * dn_flow collects flow_id and stats for queues and scheduler 191 * Scheduler template, mostly indicating the name, number, 196 uint32_t sched_nr; /* N, scheduler number */ 201 /* mask to select the appropriate scheduler instance */ 222 /* Extra parameters for AQM and scheduler. [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | SchedulerRegistry.h | 9 // This file contains the implementation for instruction scheduler function 62 /// reduction list scheduler. 66 /// createSourceListDAGScheduler - This creates a bottom up list scheduler that 72 /// aware list scheduler that make use of latency information to avoid stalls 79 /// aware list scheduler that tries to increase instruction level parallelism 85 /// createFastDAGScheduler - This creates a "fast" scheduler. 90 /// createVLIWDAGScheduler - Scheduler for VLIW targets. This creates top down 91 /// DFA driven list scheduler with clustering heuristic to control 95 /// createDefaultScheduler - This creates an instruction scheduler appropriate 100 /// createDAGLinearizer - This creates a "no-scheduling" scheduler whic [all...] |
/freebsd/share/man/man4/ |
H A D | sched_4bsd.4 | 30 .Nd "4.4BSD scheduler" 36 scheduler 37 is the traditional system scheduler, providing both high throughput and solid 44 This read-only sysctl reports the name of the active scheduler. 49 This read-write sysctl sets whether or not the scheduler will generate an 66 scheduler has been present, in various forms, since the inception of 69 While a highly robust and time-tested scheduler,
|
H A D | sched_ule.4 | 30 .Nd ULE scheduler 36 scheduler 37 provides a number of advanced scheduler 40 the traditional system scheduler. 59 This read-only sysctl reports the name of the active scheduler. 70 scheduler first appeared in
|
/freebsd/contrib/kyua/drivers/ |
H A D | run_tests.cpp | 37 #include "engine/scheduler.hpp" 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() 155 /// \param handle Scheduler handle. 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() [all …]
|
H A D | debug_test.cpp | 37 #include "engine/scheduler.hpp" 48 namespace scheduler = engine::scheduler; 74 scheduler::scheduler_handle handle = scheduler::setup(); in drive() 100 scheduler::result_handle_ptr result_handle = handle.debug_test( in drive() 103 const scheduler::test_result_handle* test_result_handle = in drive() 104 dynamic_cast< const scheduler::test_result_handle* >( in drive()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/MCA/Stages/ |
H A D | ExecuteStage.h | 12 /// The ExecuteStage is responsible for managing the hardware scheduler 21 #include "llvm/MCA/HardwareUnits/Scheduler.h" 29 Scheduler &HWS; 50 ExecuteStage(Scheduler &S) : ExecuteStage(S, false) {} in ExecuteStage() 51 ExecuteStage(Scheduler &S, bool ShouldPerformBottleneckAnalysis) in ExecuteStage() 64 // Notifies the scheduler that a new cycle just started. 66 // This method notifies the scheduler that a new cycle started. 68 // state changes, and processor resources freed by the scheduler.
|
/freebsd/sys/netpfil/pf/ |
H A D | pf_altq.h | 131 /* scheduler spec */ 132 uint8_t scheduler; /* scheduler type */ member 163 /* scheduler spec */ 164 uint8_t scheduler; /* scheduler type */ member 199 /* scheduler spec */ 200 uint8_t scheduler; /* scheduler type */ member
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | PostRASchedulerList.cpp | 1 //===----- SchedulePostRAList.cpp - list scheduler ------------------------===// 9 // This implements a top-down list scheduler, using standard algorithms. 54 EnablePostRAScheduler("post-RA-scheduler", 159 /// Initialize the scheduler state for the next scheduling region. 165 /// Notify that the scheduler has finished scheduling the current region. 200 "Post RA top-down list latency scheduler", false, false) 309 SchedulePostRATDList Scheduler(Fn, MLI, AA, RegClassInfo, AntiDepMode, in runOnMachineFunction() local 326 Scheduler.startBlock(&MBB); in runOnMachineFunction() 339 Scheduler.enterRegion(&MBB, I, Current, CurrentCount - Count); in runOnMachineFunction() 340 Scheduler.setEndIndex(CurrentCount); in runOnMachineFunction() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/MCA/Stages/ |
H A D | ExecuteStage.cpp | 12 /// The ExecuteStage is responsible for managing the hardware scheduler 26 HWStallEvent::GenericEventType toHWStallEventType(Scheduler::Status Status) { in toHWStallEventType() 28 case Scheduler::SC_LOAD_QUEUE_FULL: in toHWStallEventType() 30 case Scheduler::SC_STORE_QUEUE_FULL: in toHWStallEventType() 32 case Scheduler::SC_BUFFERS_FULL: in toHWStallEventType() 34 case Scheduler::SC_DISPATCH_GROUP_STALL: in toHWStallEventType() 36 case Scheduler::SC_AVAILABLE: in toHWStallEventType() 44 if (Scheduler::Status S = HWS.isAvailable(IR)) { in isAvailable() 127 // was stalled due to unavailable scheduler resources. in cycleEnd() 187 assert(isAvailable(IR) && "Scheduler i in execute() [all...] |
/freebsd/lib/libpmc/pmu-events/arch/x86/amdzen3/ |
H A D | other.json | 28 …have been stalled due to a Token Stall. FP scheduler resource stall. Applies to ops that use the F… 46 …roup is valid but does not get dispatched due to a token stall. Integer Scheduler miscellaneous re… 82 …but does not get dispatched due to a token stall. No tokens for Integer Scheduler Queue 3 availabl… 88 …but does not get dispatched due to a token stall. No tokens for Integer Scheduler Queue 2 availabl… 94 …but does not get dispatched due to a token stall. No tokens for Integer Scheduler Queue 1 availabl… 100 …but does not get dispatched due to a token stall. No tokens for Integer Scheduler Queue 0 availabl…
|