| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 547 /** | 547 /** |
| 548 * Deprecated. Returns the number of currently existing persistent handles. | 548 * Deprecated. Returns the number of currently existing persistent handles. |
| 549 */ | 549 */ |
| 550 V8_DEPRECATED(static int GetPersistentHandleCount()); | 550 V8_DEPRECATED(static int GetPersistentHandleCount()); |
| 551 | 551 |
| 552 /** Deprecated. Use GetHeapProfilerMemorySize instead. */ | 552 /** Deprecated. Use GetHeapProfilerMemorySize instead. */ |
| 553 V8_DEPRECATED(static size_t GetMemorySizeUsedByProfiler()); | 553 V8_DEPRECATED(static size_t GetMemorySizeUsedByProfiler()); |
| 554 /** Returns memory used for profiler internal data and snapshots. */ | 554 /** Returns memory used for profiler internal data and snapshots. */ |
| 555 size_t GetProfilerMemorySize(); | 555 size_t GetProfilerMemorySize(); |
| 556 | 556 |
| 557 /** |
| 558 * Sets a RetainedObjectInfo for an object group (see V8::SetObjectGroupId). |
| 559 */ |
| 560 void SetRetainedObjectInfo(UniqueId id, RetainedObjectInfo* info); |
| 561 |
| 557 private: | 562 private: |
| 558 HeapProfiler(); | 563 HeapProfiler(); |
| 559 ~HeapProfiler(); | 564 ~HeapProfiler(); |
| 560 HeapProfiler(const HeapProfiler&); | 565 HeapProfiler(const HeapProfiler&); |
| 561 HeapProfiler& operator=(const HeapProfiler&); | 566 HeapProfiler& operator=(const HeapProfiler&); |
| 562 }; | 567 }; |
| 563 | 568 |
| 564 | 569 |
| 565 /** | 570 /** |
| 566 * Interface for providing information about embedder's objects | 571 * Interface for providing information about embedder's objects |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 649 }; | 654 }; |
| 650 | 655 |
| 651 | 656 |
| 652 } // namespace v8 | 657 } // namespace v8 |
| 653 | 658 |
| 654 | 659 |
| 655 #undef V8EXPORT | 660 #undef V8EXPORT |
| 656 | 661 |
| 657 | 662 |
| 658 #endif // V8_V8_PROFILER_H_ | 663 #endif // V8_V8_PROFILER_H_ |
| OLD | NEW |