WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
218666
Add total counts to sampling profiler dump
https://bugs.webkit.org/show_bug.cgi?id=218666
Summary
Add total counts to sampling profiler dump
Keith Miller
Reported
2020-11-06 11:59:21 PST
Add total counts to sampling profiler dump
Attachments
Patch
(4.25 KB, patch)
2020-11-06 12:00 PST
,
Keith Miller
no flags
Details
Formatted Diff
Diff
Patch for landing
(4.28 KB, patch)
2020-11-09 12:02 PST
,
Keith Miller
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Keith Miller
Comment 1
2020-11-06 12:00:48 PST
Created
attachment 413456
[details]
Patch
Yusuke Suzuki
Comment 2
2020-11-06 13:37:33 PST
Comment on
attachment 413456
[details]
Patch r=me
Mark Lam
Comment 3
2020-11-06 17:46:31 PST
Comment on
attachment 413456
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=413456&action=review
> Source/JavaScriptCore/runtime/SamplingProfiler.cpp:1026 > + size_t totalCount = 0;
Can you name this totalSamples instead? The meaning of "count" is nebulous. What you're really measuring is the number of samples processed. So, let's call it that.
> Source/JavaScriptCore/runtime/SamplingProfiler.cpp:1087 > + size_t totalCount = 0;
Ditto, name this totalSamples.
> Source/JavaScriptCore/runtime/SamplingProfiler.cpp:1142 > + out.println("\n\nSampling rate: ", m_timingInterval.microseconds(), " microseconds. Total count: ", totalCount);
/Total count:/Total Samples:/
Keith Miller
Comment 4
2020-11-09 11:57:17 PST
Comment on
attachment 413456
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=413456&action=review
>> Source/JavaScriptCore/runtime/SamplingProfiler.cpp:1026 >> + size_t totalCount = 0; > > Can you name this totalSamples instead? The meaning of "count" is nebulous. What you're really measuring is the number of samples processed. So, let's call it that.
Sure.
Keith Miller
Comment 5
2020-11-09 12:02:38 PST
Created
attachment 413614
[details]
Patch for landing
EWS
Comment 6
2020-11-09 13:18:30 PST
Committed
r269597
: <
https://trac.webkit.org/changeset/269597
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 413614
[details]
.
Radar WebKit Bug Importer
Comment 7
2020-11-09 13:19:19 PST
<
rdar://problem/71207171
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug