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

Side by Side Diff: src/v8globals.h

Issue 22412003: Support idle time in CPU profiler (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Comment addressed Created 7 years, 4 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/sampler.cc ('k') | test/cctest/test-cpu-profiler.cc » ('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 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 // the VM. The logger maintains a stack of these. Creating a VMState 356 // the VM. The logger maintains a stack of these. Creating a VMState
357 // object enters a state by pushing on the stack, and destroying a 357 // object enters a state by pushing on the stack, and destroying a
358 // VMState object leaves a state by popping the current state from the 358 // VMState object leaves a state by popping the current state from the
359 // stack. 359 // stack.
360 360
361 enum StateTag { 361 enum StateTag {
362 JS, 362 JS,
363 GC, 363 GC,
364 COMPILER, 364 COMPILER,
365 OTHER, 365 OTHER,
366 EXTERNAL 366 EXTERNAL,
367 IDLE
367 }; 368 };
368 369
369 370
370 // ----------------------------------------------------------------------------- 371 // -----------------------------------------------------------------------------
371 // Macros 372 // Macros
372 373
373 // Testers for test. 374 // Testers for test.
374 375
375 #define HAS_SMI_TAG(value) \ 376 #define HAS_SMI_TAG(value) \
376 ((reinterpret_cast<intptr_t>(value) & kSmiTagMask) == kSmiTag) 377 ((reinterpret_cast<intptr_t>(value) & kSmiTagMask) == kSmiTag)
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
580 581
581 enum ClearExceptionFlag { 582 enum ClearExceptionFlag {
582 KEEP_EXCEPTION, 583 KEEP_EXCEPTION,
583 CLEAR_EXCEPTION 584 CLEAR_EXCEPTION
584 }; 585 };
585 586
586 587
587 } } // namespace v8::internal 588 } } // namespace v8::internal
588 589
589 #endif // V8_V8GLOBALS_H_ 590 #endif // V8_V8GLOBALS_H_
OLDNEW
« no previous file with comments | « src/sampler.cc ('k') | test/cctest/test-cpu-profiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698