Merge commit '8ac11a97c29ac9ce3e4099e77a9aa9475c1002b4' into 2.4
This commit is contained in:
@ -335,6 +335,16 @@ public:
|
||||
|
||||
virtual ~Worker();
|
||||
|
||||
/**
|
||||
* Returns the id of the worker
|
||||
*
|
||||
* @return The address of the worker cast to an int
|
||||
*/
|
||||
virtual int id() const
|
||||
{
|
||||
return (intptr_t)this;
|
||||
}
|
||||
|
||||
int load(Load::counter_t counter)
|
||||
{
|
||||
return m_load.percentage(counter);
|
||||
|
||||
Reference in New Issue
Block a user