![]() |
v8
3.14.5 (node 0.10.48)
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.
| unsigned GetCallUid | ( | ) | const |
Returns function entry UID.
| const CpuProfileNode* GetChild | ( | int | index | ) | const |
Retrieves a child node by index.
| int GetChildrenCount | ( | ) | const |
Returns child nodes count of the node.
Returns function name (empty string for anonymous functions.)
| int GetLineNumber | ( | ) | const |
Returns the number, 1-based, of the line where the function originates. kNoLineNumberInfo if no line number information is available.
Returns resource name for script from where the function originates.
| double GetSelfSamplesCount | ( | ) | const |
Returns the count of samples where function was currently executing.
| double GetSelfTime | ( | ) | const |
Returns self execution time of the function, in milliseconds, estimated by samples count.
| double GetTotalSamplesCount | ( | ) | const |
Returns the count of samples where function exists.
| double GetTotalTime | ( | ) | const |
Returns total (self + children) execution time of the function, in milliseconds, estimated by samples count.
|
static |
Definition at line 114 of file v8-profiler.h.