Revision f230a1cf deps/v8/include/v8-profiler.h
deps/v8/include/v8-profiler.h | ||
---|---|---|
57 | 57 |
*/ |
58 | 58 |
int GetLineNumber() const; |
59 | 59 |
|
60 |
/** |
|
61 |
* Returns 1-based number of the column where the function originates. |
|
62 |
* kNoColumnNumberInfo if no column number information is available. |
|
63 |
*/ |
|
64 |
int GetColumnNumber() const; |
|
65 |
|
|
60 | 66 |
/** Returns bailout reason for the function |
61 | 67 |
* if the optimization was disabled for it. |
62 | 68 |
*/ |
63 | 69 |
const char* GetBailoutReason() const; |
64 | 70 |
|
65 |
/** DEPRECATED. Please use GetHitCount instead. |
|
66 |
* Returns the count of samples where function was currently executing. |
|
67 |
*/ |
|
68 |
V8_DEPRECATED(double GetSelfSamplesCount() const); |
|
69 |
|
|
70 | 71 |
/** |
71 | 72 |
* Returns the count of samples where the function was currently executing. |
72 | 73 |
*/ |
... | ... | |
85 | 86 |
const CpuProfileNode* GetChild(int index) const; |
86 | 87 |
|
87 | 88 |
static const int kNoLineNumberInfo = Message::kNoLineNumberInfo; |
89 |
static const int kNoColumnNumberInfo = Message::kNoColumnInfo; |
|
88 | 90 |
}; |
89 | 91 |
|
90 | 92 |
|
... | ... | |
473 | 475 |
*/ |
474 | 476 |
void SetRetainedObjectInfo(UniqueId id, RetainedObjectInfo* info); |
475 | 477 |
|
478 |
/** |
|
479 |
* Starts recording JS allocations immediately as they arrive and tracking of |
|
480 |
* heap objects population statistics. |
|
481 |
*/ |
|
482 |
void StartRecordingHeapAllocations(); |
|
483 |
|
|
484 |
/** |
|
485 |
* Stops recording JS allocations and tracking of heap objects population |
|
486 |
* statistics, cleans all collected heap objects population statistics data. |
|
487 |
*/ |
|
488 |
void StopRecordingHeapAllocations(); |
|
489 |
|
|
490 |
|
|
476 | 491 |
private: |
477 | 492 |
HeapProfiler(); |
478 | 493 |
~HeapProfiler(); |
Also available in: Unified diff