![]() |
v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <v8-profiler.h>
Public Member Functions | |
| Handle< String > | GetFunctionName () const |
| Handle< String > | GetScriptResourceName () const |
| int | GetLineNumber () const |
| double | GetTotalTime () const |
| double | GetSelfTime () const |
| double | GetTotalSamplesCount () const |
| double | GetSelfSamplesCount () const |
| unsigned | GetCallUid () const |
| int | GetChildrenCount () const |
| const CpuProfileNode * | GetChild (int index) const |
Static Public Attributes | |
| static const int | kNoLineNumberInfo = Message::kNoLineNumberInfo |
CpuProfileNode represents a node in a call graph.
Definition at line 73 of file v8-profiler.h.
| const CpuProfileNode * GetChild | ( | int | index | ) | const |
| int GetChildrenCount | ( | ) | const |
Returns function name (empty string for anonymous functions.)
Definition at line 5953 of file api.cc.
References Isolate::factory(), Factory::LookupAsciiSymbol(), and Factory::NewConsString().
| int GetLineNumber | ( | ) | const |
Returns resource name for script from where the function originates.
Definition at line 5969 of file api.cc.
References Isolate::factory(), and Factory::LookupAsciiSymbol().
| double GetSelfSamplesCount | ( | ) | const |
| double GetSelfTime | ( | ) | const |
| double GetTotalSamplesCount | ( | ) | const |
| double GetTotalTime | ( | ) | const |
|
static |
Definition at line 114 of file v8-profiler.h.
Referenced by CpuProfiler::CodeCreateEvent(), and CpuProfilesCollection::NewCodeEntry().