This interface is used to query and change the scheduling configuration. More...
#include <ischeduling_configuration.h>

Public Member Functions | |
| virtual Sint32 | set_cpu_load_limit (Float32 limit)=0 |
| Sets the CPU load limit. More... | |
| virtual Float32 | get_cpu_load_limit () const =0 |
| Returns the CPU load limit. More... | |
| virtual Sint32 | set_gpu_load_limit (Float32 limit)=0 |
| Sets the GPU load limit. More... | |
| virtual Float32 | get_gpu_load_limit () const =0 |
| Returns the GPU load limit. More... | |
| virtual Sint32 | set_thread_affinity_enabled (bool value)=0 |
| Sets the CPU affinity for threads. More... | |
| virtual bool | get_thread_affinity_enabled () const =0 |
| Returns the CPU affinity for threads. More... | |
| virtual Sint32 | set_accept_delegations (bool value)=0 |
| Not supported. More... | |
| virtual bool | get_accept_delegations () const =0 |
| Not supported. More... | |
| virtual Sint32 | set_work_delegation_enabled (bool value)=0 |
| Not supported. More... | |
| virtual bool | get_work_delegation_enabled () const =0 |
| Not supported. More... | |
| virtual Sint32 | set_gpu_work_delegation_enabled (bool value)=0 |
| Not supported. More... | |
| virtual bool | get_gpu_work_delegation_enabled () const =0 |
| Not supported. More... | |
Public Member Functions inherited from mi::base::IInterface | |
| virtual Uint32 | retain () const =0 |
| Increments the reference count. More... | |
| virtual Uint32 | release () const =0 |
| Decrements the reference count. More... | |
| virtual const IInterface * | get_interface (const Uuid &interface_id) const =0 |
| Acquires a const interface from another. More... | |
| template<class T> | |
| const T * | get_interface () const |
| Acquires a const interface from another. More... | |
| virtual IInterface * | get_interface (const Uuid &interface_id)=0 |
| Acquires a mutable interface from another. More... | |
| template<class T> | |
| T * | get_interface () |
| Acquires a mutable interface from another. More... | |
| virtual Uuid | get_iid () const =0 |
| Returns the interface ID of the most derived interface. More... | |
Additional Inherited Members | |
Public Types inherited from mi::base::Interface_declare< 0x4f1fe336, ... > | |
| using | Self = Interface_declare< id1, ... > |
| Own type. More... | |
| using | IID = Uuid_t< id1, ... > |
| Declares the interface ID (IID) of this interface. More... | |
Public Types inherited from mi::base::IInterface | |
| using | IID = Uuid_t<0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0> |
| Declares the interface ID (IID) of this interface. More... | |
Static Public Member Functions inherited from mi::base::Interface_declare< 0x4f1fe336, ... > | |
| static bool | compare_iid (const Uuid &iid) |
Compares the interface ID iid against the interface ID of this interface and of its ancestors. More... | |
Static Public Member Functions inherited from mi::base::IInterface | |
| static bool | compare_iid (const Uuid &iid) |
Compares the interface ID iid against the interface ID of this interface. More... | |
This interface is used to query and change the scheduling configuration.
|
pure virtual |
Not supported.
|
pure virtual |
Returns the CPU load limit.
|
pure virtual |
Returns the GPU load limit.
|
pure virtual |
Not supported.
|
pure virtual |
Returns the CPU affinity for threads.
|
pure virtual |
Not supported.
|
pure virtual |
Not supported.
|
pure virtual |
Sets the CPU load limit.
The CPU load is the sum of the CPU loads caused by all currently active threads. A single thread fully using a single CPU core is said to cause a CPU load of 1.0. The CPU load limit defaults to the number of CPU cores.
| limit | The new CPU load limit. |
|
pure virtual |
Sets the GPU load limit.
The GPU load is the sum of the GPU loads caused by all currently active threads. A single thread fully using a single GPU is said to cause a GPU load of 1.0. The GPU load limit defaults to the number of GPUs.
| limit | The new GPU load limit. |
|
pure virtual |
Not supported.
|
pure virtual |
Sets the CPU affinity for threads.
If thread affinity is enabled for a thread then this thread is bound to the CPU it is currently running on. If thread affinity is disabled (the default) the operating system is free to migrate the thread between CPUs as it sees fit (which might suffer from cache misses).
This thread affinity setting only affects internal threads that are used to execute jobs. Application threads are not affected by this setting.
Note that changing this value does not affect a job that is currently being executed, it only affects subsequently started jobs (or fragments thereof).
This method can only be used while the MDL SDK is running.
| value |
|
pure virtual |
Not supported.