Skip to content

Instantly share code, notes, and snippets.

@cappuccino
Created April 21, 2009 20:42
Show Gist options
  • Select an option

  • Save cappuccino/99371 to your computer and use it in GitHub Desktop.

Select an option

Save cappuccino/99371 to your computer and use it in GitHub Desktop.
WebInspector.XProfileDataGridNode = function(aProfileView, aProfileNode, aHeadDataGridNode, hasChildren)
{
WebInspector.DataGridNode.call(this, null, hasChildren);
}
WebInspector.XProfileDataGridNode.prototype = {
get totalPercent()
{
return this.totalTime / this.head.totalTime * 100.0;
}
}
WebInspector.XProfileDataGridNode.prototype.__proto__ = WebInspector.DataGridNode.prototype;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment