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

Side by Side Diff: include/v8-profiler.h

Issue 14007008: New GC APIs, try 2. (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: code review (yurys) Created 7 years, 8 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 | « include/v8.h ('k') | src/api.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 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
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
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_
OLDNEW
« no previous file with comments | « include/v8.h ('k') | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698