Changeset 437 for trunk/JavaScriptCore/profiler/Profile.h
- Timestamp:
- 08/15/08 13:25:16 (5 months ago)
- Files:
-
- trunk/JavaScriptCore/profiler/Profile.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/JavaScriptCore/profiler/Profile.h
r388 r437 38 38 class Profile : public RefCounted<Profile> { 39 39 public: 40 static PassRefPtr<Profile> create(const UString& title );40 static PassRefPtr<Profile> create(const UString& title, unsigned uid); 41 41 virtual ~Profile(); 42 42 … … 45 45 void setHead(PassRefPtr<ProfileNode> head) { m_head = head; } 46 46 double totalTime() const { return m_head->totalTime(); } 47 unsigned int uid() const { return m_uid; } 47 48 48 49 void forEach(void (ProfileNode::*)()); … … 69 70 70 71 protected: 71 Profile(const UString& title );72 Profile(const UString& title, unsigned uid); 72 73 73 74 private: … … 77 78 UString m_title; 78 79 RefPtr<ProfileNode> m_head; 80 unsigned int m_uid; 79 81 }; 80 82
