OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
484 var totalTime = millisecondsToString(timelineData.entryTotalTimes[entryI
ndex]); | 484 var totalTime = millisecondsToString(timelineData.entryTotalTimes[entryI
ndex]); |
485 pushEntryInfoRow(WebInspector.UIString("Self time"), selfTime); | 485 pushEntryInfoRow(WebInspector.UIString("Self time"), selfTime); |
486 pushEntryInfoRow(WebInspector.UIString("Total time"), totalTime); | 486 pushEntryInfoRow(WebInspector.UIString("Total time"), totalTime); |
487 var linkifier = new WebInspector.Linkifier(); | 487 var linkifier = new WebInspector.Linkifier(); |
488 var link = linkifier.maybeLinkifyConsoleCallFrame(this._target, node.cal
lFrame); | 488 var link = linkifier.maybeLinkifyConsoleCallFrame(this._target, node.cal
lFrame); |
489 if (link) | 489 if (link) |
490 pushEntryInfoRow(WebInspector.UIString("URL"), link.textContent); | 490 pushEntryInfoRow(WebInspector.UIString("URL"), link.textContent); |
491 linkifier.dispose(); | 491 linkifier.dispose(); |
492 pushEntryInfoRow(WebInspector.UIString("Aggregated self time"), Number.s
econdsToString(node.self / 1000, true)); | 492 pushEntryInfoRow(WebInspector.UIString("Aggregated self time"), Number.s
econdsToString(node.self / 1000, true)); |
493 pushEntryInfoRow(WebInspector.UIString("Aggregated total time"), Number.
secondsToString(node.total / 1000, true)); | 493 pushEntryInfoRow(WebInspector.UIString("Aggregated total time"), Number.
secondsToString(node.total / 1000, true)); |
494 if (node.deoptReason && node.deoptReason !== "no reason") | 494 if (node.deoptReason) |
495 pushEntryInfoRow(WebInspector.UIString("Not optimized"), node.deoptR
eason); | 495 pushEntryInfoRow(WebInspector.UIString("Not optimized"), node.deoptR
eason); |
496 | 496 |
497 return entryInfo; | 497 return entryInfo; |
498 }, | 498 }, |
499 | 499 |
500 __proto__: WebInspector.ProfileFlameChartDataProvider.prototype | 500 __proto__: WebInspector.ProfileFlameChartDataProvider.prototype |
501 } | 501 } |
OLD | NEW |