OLD | NEW |
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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 * The v8 JavaScript engine. | 96 * The v8 JavaScript engine. |
97 */ | 97 */ |
98 namespace v8 { | 98 namespace v8 { |
99 | 99 |
100 class AccessorInfo; | 100 class AccessorInfo; |
101 class AccessorSignature; | 101 class AccessorSignature; |
102 class Array; | 102 class Array; |
103 class Boolean; | 103 class Boolean; |
104 class BooleanObject; | 104 class BooleanObject; |
105 class Context; | 105 class Context; |
| 106 class CpuProfiler; |
106 class Data; | 107 class Data; |
107 class Date; | 108 class Date; |
108 class DeclaredAccessorDescriptor; | 109 class DeclaredAccessorDescriptor; |
109 class External; | 110 class External; |
110 class Function; | 111 class Function; |
111 class FunctionTemplate; | 112 class FunctionTemplate; |
112 class HeapProfiler; | 113 class HeapProfiler; |
113 class ImplementationUtilities; | 114 class ImplementationUtilities; |
114 class Int32; | 115 class Int32; |
115 class Integer; | 116 class Integer; |
(...skipping 2906 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3022 * \returns the adjusted value. | 3023 * \returns the adjusted value. |
3023 */ | 3024 */ |
3024 intptr_t AdjustAmountOfExternalAllocatedMemory(intptr_t change_in_bytes); | 3025 intptr_t AdjustAmountOfExternalAllocatedMemory(intptr_t change_in_bytes); |
3025 | 3026 |
3026 /** | 3027 /** |
3027 * Returns heap profiler for this isolate. Will return NULL until the isolate | 3028 * Returns heap profiler for this isolate. Will return NULL until the isolate |
3028 * is initialized. | 3029 * is initialized. |
3029 */ | 3030 */ |
3030 HeapProfiler* GetHeapProfiler(); | 3031 HeapProfiler* GetHeapProfiler(); |
3031 | 3032 |
| 3033 /** |
| 3034 * Returns CPU profiler for this isolate. Will return NULL until the isolate |
| 3035 * is initialized. |
| 3036 */ |
| 3037 CpuProfiler* GetCpuProfiler(); |
| 3038 |
3032 private: | 3039 private: |
3033 Isolate(); | 3040 Isolate(); |
3034 Isolate(const Isolate&); | 3041 Isolate(const Isolate&); |
3035 ~Isolate(); | 3042 ~Isolate(); |
3036 Isolate& operator=(const Isolate&); | 3043 Isolate& operator=(const Isolate&); |
3037 void* operator new(size_t size); | 3044 void* operator new(size_t size); |
3038 void operator delete(void*, size_t); | 3045 void operator delete(void*, size_t); |
3039 }; | 3046 }; |
3040 | 3047 |
3041 | 3048 |
(...skipping 1989 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5031 | 5038 |
5032 | 5039 |
5033 } // namespace v8 | 5040 } // namespace v8 |
5034 | 5041 |
5035 | 5042 |
5036 #undef V8EXPORT | 5043 #undef V8EXPORT |
5037 #undef TYPE_CHECK | 5044 #undef TYPE_CHECK |
5038 | 5045 |
5039 | 5046 |
5040 #endif // V8_H_ | 5047 #endif // V8_H_ |
OLD | NEW |