| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index 3e3865ff26c7d16e80ee68a8663fe9493a6da394..4752a442525784a1ffbb45ecd648b5e10bc076f1 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -4058,6 +4058,18 @@ int CpuProfileNode::GetLineNumber() const {
|
| }
|
|
|
|
|
| +double CpuProfileNode::GetTotalTime() const {
|
| + IsDeadCheck("v8::CpuProfileNode::GetTotalTime");
|
| + return reinterpret_cast<const i::ProfileNode*>(this)->GetTotalMillis();
|
| +}
|
| +
|
| +
|
| +double CpuProfileNode::GetSelfTime() const {
|
| + IsDeadCheck("v8::CpuProfileNode::GetSelfTime");
|
| + return reinterpret_cast<const i::ProfileNode*>(this)->GetSelfMillis();
|
| +}
|
| +
|
| +
|
| double CpuProfileNode::GetTotalSamplesCount() const {
|
| IsDeadCheck("v8::CpuProfileNode::GetTotalSamplesCount");
|
| return reinterpret_cast<const i::ProfileNode*>(this)->total_ticks();
|
|
|