| Index: include/v8-profiler.h
|
| diff --git a/include/v8-profiler.h b/include/v8-profiler.h
|
| index cf2834130053656f5ecd7d30d08d1f0627544d40..7898fef1967f0c86df5fd6d94fde20d3575eb423 100644
|
| --- a/include/v8-profiler.h
|
| +++ b/include/v8-profiler.h
|
| @@ -149,6 +149,18 @@ class V8EXPORT CpuProfile {
|
| 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.
|
| * All pointers to nodes previously returned become invalid.
|
| * Profiles with the same uid but obtained using different
|
|
|