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

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

Issue 99193002: Remove all stuff marked as V8_DEPRECATED. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased. Created 7 years 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 | « include/v8.h ('k') | src/allocation-tracker.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 // 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 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 static const uint16_t kPersistentHandleNoClassId = 0; 468 static const uint16_t kPersistentHandleNoClassId = 0;
469 469
470 /** Returns memory used for profiler internal data and snapshots. */ 470 /** Returns memory used for profiler internal data and snapshots. */
471 size_t GetProfilerMemorySize(); 471 size_t GetProfilerMemorySize();
472 472
473 /** 473 /**
474 * Sets a RetainedObjectInfo for an object group (see V8::SetObjectGroupId). 474 * Sets a RetainedObjectInfo for an object group (see V8::SetObjectGroupId).
475 */ 475 */
476 void SetRetainedObjectInfo(UniqueId id, RetainedObjectInfo* info); 476 void SetRetainedObjectInfo(UniqueId id, RetainedObjectInfo* info);
477 477
478 /**
479 * Starts recording JS allocations immediately as they arrive and tracking of
480 * heap objects population statistics.
481 */
482 V8_DEPRECATED("Use StartTrackingHeapObjects instead",
483 void StartRecordingHeapAllocations());
484
485 /**
486 * Stops recording JS allocations and tracking of heap objects population
487 * statistics, cleans all collected heap objects population statistics data.
488 */
489 V8_DEPRECATED("Use StopTrackingHeapObjects instead",
490 void StopRecordingHeapAllocations());
491
492
493 private: 478 private:
494 HeapProfiler(); 479 HeapProfiler();
495 ~HeapProfiler(); 480 ~HeapProfiler();
496 HeapProfiler(const HeapProfiler&); 481 HeapProfiler(const HeapProfiler&);
497 HeapProfiler& operator=(const HeapProfiler&); 482 HeapProfiler& operator=(const HeapProfiler&);
498 }; 483 };
499 484
500 485
501 /** 486 /**
502 * Interface for providing information about embedder's objects 487 * Interface for providing information about embedder's objects
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 uint32_t index; // Index of the time interval that was changed. 567 uint32_t index; // Index of the time interval that was changed.
583 uint32_t count; // New value of count field for the interval with this index. 568 uint32_t count; // New value of count field for the interval with this index.
584 uint32_t size; // New value of size field for the interval with this index. 569 uint32_t size; // New value of size field for the interval with this index.
585 }; 570 };
586 571
587 572
588 } // namespace v8 573 } // namespace v8
589 574
590 575
591 #endif // V8_V8_PROFILER_H_ 576 #endif // V8_V8_PROFILER_H_
OLDNEW
« no previous file with comments | « include/v8.h ('k') | src/allocation-tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698