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

#include <v8-profiler.h>

Collaboration diagram for v8::DiscardedSamplesDelegate:

Public Member Functions

 DiscardedSamplesDelegate ()=default
 
virtual ~DiscardedSamplesDelegate ()=default
 
virtual void Notify ()=0
 
ProfilerId GetId () const
 

Private Member Functions

void SetId (ProfilerId id)
 

Private Attributes

ProfilerId profiler_id_
 

Detailed Description

Delegate for when max samples reached and samples are discarded.

Definition at line 338 of file v8-profiler.h.

Constructor & Destructor Documentation

◆ DiscardedSamplesDelegate()

v8::DiscardedSamplesDelegate::DiscardedSamplesDelegate ( )
default

◆ ~DiscardedSamplesDelegate()

virtual v8::DiscardedSamplesDelegate::~DiscardedSamplesDelegate ( )
virtualdefault

Member Function Documentation

◆ GetId()

ProfilerId v8::DiscardedSamplesDelegate::GetId ( ) const
inline

Definition at line 345 of file v8-profiler.h.

◆ Notify()

virtual void v8::DiscardedSamplesDelegate::Notify ( )
pure virtual

◆ SetId()

void v8::DiscardedSamplesDelegate::SetId ( ProfilerId id)
inlineprivate

Definition at line 350 of file v8-profiler.h.

Member Data Documentation

◆ profiler_id_

ProfilerId v8::DiscardedSamplesDelegate::profiler_id_
private

Definition at line 352 of file v8-profiler.h.


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