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

Side by Side Diff: tools/tickprocessor.js

Issue 11347043: Fix tick processor to correctly handle the 'parallel-compiler' tick. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 this.generation_ = 1; 224 this.generation_ = 1;
225 this.currentProducerProfile_ = null; 225 this.currentProducerProfile_ = null;
226 }; 226 };
227 inherits(TickProcessor, LogReader); 227 inherits(TickProcessor, LogReader);
228 228
229 229
230 TickProcessor.VmStates = { 230 TickProcessor.VmStates = {
231 JS: 0, 231 JS: 0,
232 GC: 1, 232 GC: 1,
233 COMPILER: 2, 233 COMPILER: 2,
234 OTHER: 3, 234 PARALLEL_COMPILER_PROLOGUE: 3,
235 EXTERNAL: 4 235 OTHER: 4,
236 EXTERNAL: 5
236 }; 237 };
237 238
238 239
239 TickProcessor.CodeTypes = { 240 TickProcessor.CodeTypes = {
240 CPP: 0, 241 CPP: 0,
241 SHARED_LIB: 1 242 SHARED_LIB: 1
242 }; 243 };
243 // Otherwise, this is JS-related code. We are not adding it to 244 // Otherwise, this is JS-related code. We are not adding it to
244 // codeTypes_ map because there can be zillions of them. 245 // codeTypes_ map because there can be zillions of them.
245 246
(...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after
870 if (arg !== synArg && dispatch === this.argsDispatch_[synArg]) { 871 if (arg !== synArg && dispatch === this.argsDispatch_[synArg]) {
871 synonims.push(synArg); 872 synonims.push(synArg);
872 delete this.argsDispatch_[synArg]; 873 delete this.argsDispatch_[synArg];
873 } 874 }
874 } 875 }
875 print(' ' + padRight(synonims.join(', '), 20) + dispatch[2]); 876 print(' ' + padRight(synonims.join(', '), 20) + dispatch[2]);
876 } 877 }
877 quit(2); 878 quit(2);
878 }; 879 };
879 880
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698