Index: Source/devtools/front_end/CPUProfileView.js |
diff --git a/Source/devtools/front_end/CPUProfileView.js b/Source/devtools/front_end/CPUProfileView.js |
index 4e209b7b16ffab278d73fb03036d2c6c26e882f9..d744b17c7d49f8ad843c56e22f4331ac9f946e88 100644 |
--- a/Source/devtools/front_end/CPUProfileView.js |
+++ b/Source/devtools/front_end/CPUProfileView.js |
@@ -575,6 +575,7 @@ WebInspector.CPUProfileView.prototype = { |
var durationMs = 1000 * profile.endTime - 1000 * profile.startTime; |
var samplingRate = profile.totalHitCount / durationMs; |
+ this.samplesPerMs = samplingRate; |
function calculateTimesForNode(node) { |
node.selfTime = node.hitCount * samplingRate; |