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

Side by Side Diff: src/vm-state.h

Issue 1923893002: [counters] Annotate v8 with more runtime call counters. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: merging master Created 4 years, 7 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
« no previous file with comments | « src/parsing/parser.cc ('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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_VM_STATE_H_ 5 #ifndef V8_VM_STATE_H_
6 #define V8_VM_STATE_H_ 6 #define V8_VM_STATE_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/counters.h" 9 #include "src/counters.h"
10 #include "src/isolate.h" 10 #include "src/isolate.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 return &callback_; 42 return &callback_;
43 #endif 43 #endif
44 } 44 }
45 ExternalCallbackScope* previous() { return previous_scope_; } 45 ExternalCallbackScope* previous() { return previous_scope_; }
46 inline Address scope_address(); 46 inline Address scope_address();
47 47
48 private: 48 private:
49 Isolate* isolate_; 49 Isolate* isolate_;
50 Address callback_; 50 Address callback_;
51 ExternalCallbackScope* previous_scope_; 51 ExternalCallbackScope* previous_scope_;
52 RuntimeCallTimer timer_;
53 #ifdef USE_SIMULATOR 52 #ifdef USE_SIMULATOR
54 Address scope_address_; 53 Address scope_address_;
55 #endif 54 #endif
56 }; 55 };
57 56
58 } // namespace internal 57 } // namespace internal
59 } // namespace v8 58 } // namespace v8
60 59
61 60
62 #endif // V8_VM_STATE_H_ 61 #endif // V8_VM_STATE_H_
OLDNEW
« no previous file with comments | « src/parsing/parser.cc ('k') | src/vm-state-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698