Closed
Bug 707800
Opened 13 years ago
Closed 13 years ago
Add more sampler labels
Categories
(Core :: General, defect)
Tracking
()
RESOLVED
FIXED
mozilla11
People
(Reporter: jrmuizel, Assigned: jrmuizel)
Details
(Whiteboard: [Snappy:P1])
Attachments
(2 files, 1 obsolete file)
10.82 KB,
patch
|
BenWa
:
review+
|
Details | Diff | Splinter Review |
1.87 KB,
patch
|
BenWa
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Attachment #579140 -
Flags: review?(bgirard)
Assignee | ||
Updated•13 years ago
|
Whiteboard: [Snappy:P1]
Updated•13 years ago
|
Attachment #579140 -
Flags: review?(bgirard) → review+
Assignee | ||
Comment 1•13 years ago
|
||
Attachment #579140 -
Attachment is obsolete: true
Attachment #579773 -
Flags: review?
Updated•13 years ago
|
Attachment #579773 -
Flags: review? → review+
Assignee | ||
Comment 2•13 years ago
|
||
Attachment #579791 -
Flags: review?(bgirard)
Comment 3•13 years ago
|
||
Comment on attachment 579791 [details] [diff] [review] Rename SAMPLE_CHECKPOINT to SAMPLE_LABEL You should fold these patch IMO
Attachment #579791 -
Flags: review?(bgirard) → review+
Comment 4•13 years ago
|
||
I missed that you added: '#define SAMPLER_RESPONSIVENESS(time)' to one of the patch. I don't think this should go in the tree.
Comment 5•13 years ago
|
||
Please set assignee when attaching or else when landed :-) https://hg.mozilla.org/mozilla-central/rev/3de0addfa544 https://hg.mozilla.org/mozilla-central/rev/c79de7ae8a57
Assignee: nobody → jmuizelaar
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla11
Comment 6•12 years ago
|
||
Comment on attachment 579773 [details] [diff] [review] Add a bunch of labels that should help v2 >@@ -3191,6 +3197,7 @@ nsJSContext::CycleCollectNow(nsICycleCollectorListener *aListener) > return; > } > >+ SAMPLE_LABEL("GC", "CycleCollectNow"); I don't know what the first parameter means, but why does CycleCollectNow have "GC"? Cycle collection is cycle collection, not garbage collection. >diff --git a/xpcom/threads/nsTimerImpl.cpp b/xpcom/threads/nsTimerImpl.cpp >index 90d122f..3884b17 100644 >--- a/xpcom/threads/nsTimerImpl.cpp >+++ b/xpcom/threads/nsTimerImpl.cpp >@@ -44,6 +44,7 @@ > #include "nsThreadManager.h" > #include "nsThreadUtils.h" > #include "prmem.h" >+#include "sampler.h" > > using mozilla::TimeDuration; > using mozilla::TimeStamp; >@@ -376,6 +377,8 @@ void nsTimerImpl::Fire() > if (mCanceled) > return; > >+ SAMPLE_LABEL("Timer", "Fire"); >+ Did any xpcom peer actually review this? Is it ok that xpcom/ depends always on tools/? I would have assumed some #ifdef was needed.
You need to log in
before you can comment on or make changes to this bug.
Description
•