V8 Project
v8::internal::GCTracer::AllocationEvent Class Reference

#include <gc-tracer.h>

+ Collaboration diagram for v8::internal::GCTracer::AllocationEvent:

Public Member Functions

 AllocationEvent ()
 
 AllocationEvent (double duration, intptr_t allocation_in_bytes)
 

Public Attributes

double duration_
 
intptr_t allocation_in_bytes_
 

Detailed Description

Definition at line 132 of file gc-tracer.h.

Constructor & Destructor Documentation

◆ AllocationEvent() [1/2]

v8::internal::GCTracer::AllocationEvent::AllocationEvent ( )
inline

Definition at line 135 of file gc-tracer.h.

135 {}

◆ AllocationEvent() [2/2]

v8::internal::GCTracer::AllocationEvent::AllocationEvent ( double  duration,
intptr_t  allocation_in_bytes 
)

Definition at line 22 of file gc-tracer.cc.

23  {
24  duration_ = duration;
25  allocation_in_bytes_ = allocation_in_bytes;
26 }

References allocation_in_bytes_, and duration_.

Member Data Documentation

◆ allocation_in_bytes_

intptr_t v8::internal::GCTracer::AllocationEvent::allocation_in_bytes_

Definition at line 145 of file gc-tracer.h.

Referenced by AllocationEvent().

◆ duration_

double v8::internal::GCTracer::AllocationEvent::duration_

Definition at line 141 of file gc-tracer.h.

Referenced by AllocationEvent().


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