diff --git a/src/apps/debuganalyzer/model/ThreadModel.h b/src/apps/debuganalyzer/model/ThreadModel.h index 99b04b5997..1e5c500c4e 100644 --- a/src/apps/debuganalyzer/model/ThreadModel.h +++ b/src/apps/debuganalyzer/model/ThreadModel.h @@ -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 {