Added ThreadModel::WaitObjectGroup::Object() getter.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34644 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
4c06f2b600
commit
2754b722f1
@ -66,6 +66,7 @@ public:
|
||||
|
||||
inline uint32 Type() const;
|
||||
inline const char* Name() const;
|
||||
inline addr_t Object() const;
|
||||
|
||||
inline int64 Waits() const;
|
||||
inline nanotime_t TotalWaitTime() const;
|
||||
@ -135,6 +136,13 @@ ThreadModel::WaitObjectGroup::Name() const
|
||||
}
|
||||
|
||||
|
||||
addr_t
|
||||
ThreadModel::WaitObjectGroup::Object() const
|
||||
{
|
||||
return fWaitObjects[0]->Object();
|
||||
}
|
||||
|
||||
|
||||
int64
|
||||
ThreadModel::WaitObjectGroup::Waits() const
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user