Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(391)

Side by Side Diff: tools/profviz/composer.js

Issue 318983005: Log IC misses as timer events. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/log.cc ('k') | tools/profviz/stdio.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 'V8.External': 98 'V8.External':
99 new TimerEvent("external", "#3399FF", false, 0), 99 new TimerEvent("external", "#3399FF", false, 0),
100 'V8.CompileFullCode': 100 'V8.CompileFullCode':
101 new TimerEvent("compile unopt", "#CC0000", true, 0), 101 new TimerEvent("compile unopt", "#CC0000", true, 0),
102 'V8.RecompileSynchronous': 102 'V8.RecompileSynchronous':
103 new TimerEvent("recompile sync", "#CC0044", true, 0), 103 new TimerEvent("recompile sync", "#CC0044", true, 0),
104 'V8.RecompileConcurrent': 104 'V8.RecompileConcurrent':
105 new TimerEvent("recompile async", "#CC4499", false, 1), 105 new TimerEvent("recompile async", "#CC4499", false, 1),
106 'V8.CompileEval': 106 'V8.CompileEval':
107 new TimerEvent("compile eval", "#CC4400", true, 0), 107 new TimerEvent("compile eval", "#CC4400", true, 0),
108 'V8.IcMiss':
109 new TimerEvent("ic miss", "#CC9900", true, 0),
108 'V8.Parse': 110 'V8.Parse':
109 new TimerEvent("parse", "#00CC00", true, 0), 111 new TimerEvent("parse", "#00CC00", true, 0),
110 'V8.PreParse': 112 'V8.PreParse':
111 new TimerEvent("preparse", "#44CC00", true, 0), 113 new TimerEvent("preparse", "#44CC00", true, 0),
112 'V8.ParseLazy': 114 'V8.ParseLazy':
113 new TimerEvent("lazy parse", "#00CC44", true, 0), 115 new TimerEvent("lazy parse", "#00CC44", true, 0),
114 'V8.GCScavenger': 116 'V8.GCScavenger':
115 new TimerEvent("gc scavenge", "#0044CC", true, 0), 117 new TimerEvent("gc scavenge", "#0044CC", true, 0),
116 'V8.GCCompactor': 118 'V8.GCCompactor':
117 new TimerEvent("gc compaction", "#4444CC", true, 0), 119 new TimerEvent("gc compaction", "#4444CC", true, 0),
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 output("plot '-' using 1:2 axes x1y2 with impulses ls 1"); 525 output("plot '-' using 1:2 axes x1y2 with impulses ls 1");
524 for (var i = 0; i < execution_pauses.length; i++) { 526 for (var i = 0; i < execution_pauses.length; i++) {
525 var pause = execution_pauses[i]; 527 var pause = execution_pauses[i];
526 output(pause.end + " " + pause.duration()); 528 output(pause.end + " " + pause.duration());
527 obj_index++; 529 obj_index++;
528 } 530 }
529 output("e"); 531 output("e");
530 return obj_index; 532 return obj_index;
531 }; 533 };
532 } 534 }
OLDNEW
« no previous file with comments | « src/log.cc ('k') | tools/profviz/stdio.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698