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

Side by Side Diff: src/v8globals.h

Issue 11412125: Add parallel recompilation time to histogram and plot execution pause times. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: make new counters non-histograms Created 8 years 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/v8-counters.h ('k') | src/vm-state-inl.h » ('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 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 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 // Logging and profiling. A StateTag represents a possible state of 348 // Logging and profiling. A StateTag represents a possible state of
349 // the VM. The logger maintains a stack of these. Creating a VMState 349 // the VM. The logger maintains a stack of these. Creating a VMState
350 // object enters a state by pushing on the stack, and destroying a 350 // object enters a state by pushing on the stack, and destroying a
351 // VMState object leaves a state by popping the current state from the 351 // VMState object leaves a state by popping the current state from the
352 // stack. 352 // stack.
353 353
354 #define STATE_TAG_LIST(V) \ 354 #define STATE_TAG_LIST(V) \
355 V(JS) \ 355 V(JS) \
356 V(GC) \ 356 V(GC) \
357 V(COMPILER) \ 357 V(COMPILER) \
358 V(PARALLEL_COMPILER_PROLOGUE) \ 358 V(PARALLEL_COMPILER) \
359 V(OTHER) \ 359 V(OTHER) \
360 V(EXTERNAL) 360 V(EXTERNAL)
361 361
362 enum StateTag { 362 enum StateTag {
363 #define DEF_STATE_TAG(name) name, 363 #define DEF_STATE_TAG(name) name,
364 STATE_TAG_LIST(DEF_STATE_TAG) 364 STATE_TAG_LIST(DEF_STATE_TAG)
365 #undef DEF_STATE_TAG 365 #undef DEF_STATE_TAG
366 // Pseudo-types. 366 // Pseudo-types.
367 state_tag_count 367 state_tag_count
368 }; 368 };
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 567
568 enum ClearExceptionFlag { 568 enum ClearExceptionFlag {
569 KEEP_EXCEPTION, 569 KEEP_EXCEPTION,
570 CLEAR_EXCEPTION 570 CLEAR_EXCEPTION
571 }; 571 };
572 572
573 573
574 } } // namespace v8::internal 574 } } // namespace v8::internal
575 575
576 #endif // V8_V8GLOBALS_H_ 576 #endif // V8_V8GLOBALS_H_
OLDNEW
« no previous file with comments | « src/v8-counters.h ('k') | src/vm-state-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698