mammut::task::ProcessHandler Class Referenceabstract
Inheritance diagram for mammut::task::ProcessHandler:
Public Member Functions | |
virtual std::vector< TaskId > | getActiveThreadsIdentifiers () const =0 |
virtual ThreadHandler * | getThreadHandler (TaskId tid) const =0 |
virtual void | releaseThreadHandler (ThreadHandler *thread) const =0 |
Public Member Functions inherited from mammut::task::Task | |
virtual bool | getCoreUsage (double &coreUsage) const =0 |
virtual bool | resetCoreUsage ()=0 |
virtual bool | getPriority (uint &priority) const =0 |
virtual bool | setPriority (uint priority) const =0 |
virtual bool | getVirtualCoreId (topology::VirtualCoreId &virtualCoreId) const =0 |
virtual bool | move (const topology::Cpu *cpu) const =0 |
virtual bool | move (const topology::PhysicalCore *physicalCore) const =0 |
virtual bool | move (const topology::VirtualCore *virtualCore) const =0 |
virtual bool | move (topology::VirtualCoreId virtualCoreId) const =0 |
virtual bool | move (const std::vector< const topology::VirtualCore * > virtualCores) const =0 |
virtual bool | move (const std::vector< topology::VirtualCoreId > virtualCoresIds) const =0 |
Member Function Documentation
|
pure virtual |
Returns a list of active thread identifiers on this process.
- Returns
- A vector of active thread identifiers on this process.
|
pure virtual |
Returns the handler associated to a specific thread.
- Parameters
-
tid The thread identifier.
- Returns
- The handler associated to a specific thread or NULL if the thread doesn't exists. The obtained handler must be released with releaseThreadHandler call.
|
pure virtual |
Releases the handler obtained through getThreadHandler call.
- Parameters
-
thread The thread handler.
The documentation for this class was generated from the following file:
- /home/daniele/Code/Mammut/mammut/task/task.hpp