v8-profiler.h | v8-profiler.h | |||
---|---|---|---|---|
skipping to change at line 120 | skipping to change at line 120 | |||
*/ | */ | |||
int GetSamplesCount() const; | int GetSamplesCount() const; | |||
/** | /** | |||
* Returns profile node corresponding to the top frame the sample at | * Returns profile node corresponding to the top frame the sample at | |||
* the given index. | * the given index. | |||
*/ | */ | |||
const CpuProfileNode* GetSample(int index) const; | const CpuProfileNode* GetSample(int index) const; | |||
/** | /** | |||
* Returns time when the profile recording started (in microseconds | * Returns time when the profile recording was started (in microseconds) | |||
* since the Epoch). | * since some unspecified starting point. | |||
*/ | */ | |||
int64_t GetStartTime() const; | int64_t GetStartTime() const; | |||
/** | /** | |||
* Returns time when the profile recording was stopped (in microseconds | * Returns time when the profile recording was stopped (in microseconds) | |||
* since the Epoch). | * since some unspecified starting point. The point is however equal to | |||
the | ||||
* starting point used by GetStartTime. | ||||
*/ | */ | |||
int64_t GetEndTime() const; | int64_t GetEndTime() const; | |||
/** | /** | |||
* Deletes the profile and removes it from CpuProfiler's list. | * Deletes the profile and removes it from CpuProfiler's list. | |||
* All pointers to nodes previously returned become invalid. | * All pointers to nodes previously returned become invalid. | |||
*/ | */ | |||
void Delete(); | void Delete(); | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 6 lines changed or added | |||