v8-profiler.h | v8-profiler.h | |||
---|---|---|---|---|
skipping to change at line 150 | skipping to change at line 150 | |||
*/ | */ | |||
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 | ||||
* since the Epoch). | ||||
*/ | ||||
int64_t GetStartTime() const; | ||||
/** | ||||
* Returns time when the profile recording was stopped (in microseconds | ||||
* since the Epoch). | ||||
*/ | ||||
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. | |||
* Profiles with the same uid but obtained using different | * Profiles with the same uid but obtained using different | |||
* security token are not deleted, but become inaccessible | * security token are not deleted, but become inaccessible | |||
* using FindProfile method. It is embedder's responsibility | * using FindProfile method. It is embedder's responsibility | |||
* to call Delete on these profiles. | * to call Delete on these profiles. | |||
*/ | */ | |||
void Delete(); | void Delete(); | |||
}; | }; | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 12 lines changed or added | |||