diff --git a/src/apps/debuganalyzer/Model.h b/src/apps/debuganalyzer/Model.h index aa806ea0c7..7df322c11f 100644 --- a/src/apps/debuganalyzer/Model.h +++ b/src/apps/debuganalyzer/Model.h @@ -61,6 +61,9 @@ public: inline team_id ID() const; + inline bigtime_t CreationTime() const; + inline bigtime_t DeletionTime() const; + bool AddThread(Thread* thread); inline void SetDeletionTime(bigtime_t time); @@ -90,6 +93,9 @@ public: inline thread_id ID() const; inline const char* Name() const; + inline bigtime_t CreationTime() const; + inline bigtime_t DeletionTime() const; + inline void SetDeletionTime(bigtime_t time); static inline int CompareByID(const Thread* a, const Thread* b); @@ -117,6 +123,20 @@ Model::Team::ID() const } +bigtime_t +Model::Team::CreationTime() const +{ + return fCreationTime; +} + + +bigtime_t +Model::Team::DeletionTime() const +{ + return fDeletionTime; +} + + void Model::Team::SetDeletionTime(bigtime_t time) { @@ -152,6 +172,20 @@ Model::Thread::Name() const } +bigtime_t +Model::Thread::CreationTime() const +{ + return fCreationTime; +} + + +bigtime_t +Model::Thread::DeletionTime() const +{ + return fDeletionTime; +} + + void Model::Thread::SetDeletionTime(bigtime_t time) {