v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::CpuProfileJSONSerializer Class Reference

#include <profile-generator.h>

Collaboration diagram for v8::internal::CpuProfileJSONSerializer:

Public Member Functions

 CpuProfileJSONSerializer (CpuProfile *profile)
 
 CpuProfileJSONSerializer (const CpuProfileJSONSerializer &)=delete
 
CpuProfileJSONSerializeroperator= (const CpuProfileJSONSerializer &)=delete
 
void Serialize (v8::OutputStream *stream)
 

Private Member Functions

void SerializePositionTicks (const v8::CpuProfileNode *node, int lineCount)
 
void SerializeCallFrame (const v8::CpuProfileNode *node)
 
void SerializeChildren (const v8::CpuProfileNode *node, int childrenCount)
 
void SerializeNode (const v8::CpuProfileNode *node)
 
void SerializeNodes ()
 
void SerializeSamples ()
 
void SerializeTimeDeltas ()
 
void SerializeImpl ()
 

Private Attributes

CpuProfileprofile_
 
OutputStreamWriterwriter_
 

Static Private Attributes

static const int kEdgeFieldsCount
 
static const int kNodeFieldsCount
 

Detailed Description

Definition at line 605 of file profile-generator.h.

Constructor & Destructor Documentation

◆ CpuProfileJSONSerializer() [1/2]

v8::internal::CpuProfileJSONSerializer::CpuProfileJSONSerializer ( CpuProfile * profile)
inlineexplicit

Definition at line 607 of file profile-generator.h.

◆ CpuProfileJSONSerializer() [2/2]

v8::internal::CpuProfileJSONSerializer::CpuProfileJSONSerializer ( const CpuProfileJSONSerializer & )
delete

Member Function Documentation

◆ operator=()

CpuProfileJSONSerializer & v8::internal::CpuProfileJSONSerializer::operator= ( const CpuProfileJSONSerializer & )
delete

◆ Serialize()

void v8::internal::CpuProfileJSONSerializer::Serialize ( v8::OutputStream * stream)

Definition at line 790 of file profile-generator.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SerializeCallFrame()

void v8::internal::CpuProfileJSONSerializer::SerializeCallFrame ( const v8::CpuProfileNode * node)
private

Definition at line 814 of file profile-generator.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SerializeChildren()

void v8::internal::CpuProfileJSONSerializer::SerializeChildren ( const v8::CpuProfileNode * node,
int childrenCount )
private

Definition at line 829 of file profile-generator.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SerializeImpl()

void v8::internal::CpuProfileJSONSerializer::SerializeImpl ( )
private

Definition at line 904 of file profile-generator.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SerializeNode()

void v8::internal::CpuProfileJSONSerializer::SerializeNode ( const v8::CpuProfileNode * node)
private

Definition at line 837 of file profile-generator.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SerializeNodes()

void v8::internal::CpuProfileJSONSerializer::SerializeNodes ( )
private

Definition at line 872 of file profile-generator.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SerializePositionTicks()

void v8::internal::CpuProfileJSONSerializer::SerializePositionTicks ( const v8::CpuProfileNode * node,
int lineCount )
private

Definition at line 798 of file profile-generator.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SerializeSamples()

void v8::internal::CpuProfileJSONSerializer::SerializeSamples ( )
private

Definition at line 896 of file profile-generator.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SerializeTimeDeltas()

void v8::internal::CpuProfileJSONSerializer::SerializeTimeDeltas ( )
private

Definition at line 885 of file profile-generator.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ kEdgeFieldsCount

const int v8::internal::CpuProfileJSONSerializer::kEdgeFieldsCount
staticprivate

Definition at line 623 of file profile-generator.h.

◆ kNodeFieldsCount

const int v8::internal::CpuProfileJSONSerializer::kNodeFieldsCount
staticprivate

Definition at line 624 of file profile-generator.h.

◆ profile_

CpuProfile* v8::internal::CpuProfileJSONSerializer::profile_
private

Definition at line 626 of file profile-generator.h.

◆ writer_

OutputStreamWriter* v8::internal::CpuProfileJSONSerializer::writer_
private

Definition at line 627 of file profile-generator.h.


The documentation for this class was generated from the following files: