Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::ProcessedSampleBuffer Class Reference

#include <profiler.h>

Inheritance diagram for dart::ProcessedSampleBuffer:
dart::ZoneAllocated

Public Member Functions

 ProcessedSampleBuffer ()
 
void Add (ProcessedSample *sample)
 
intptr_t length () const
 
ProcessedSampleAt (intptr_t index)
 
const CodeLookupTablecode_lookup_table () const
 
- Public Member Functions inherited from dart::ZoneAllocated
 ZoneAllocated ()
 
void * operator new (size_t size)
 
void * operator new (size_t size, Zone *zone)
 
void operator delete (void *pointer)
 

Detailed Description

Definition at line 883 of file profiler.h.

Constructor & Destructor Documentation

◆ ProcessedSampleBuffer()

dart::ProcessedSampleBuffer::ProcessedSampleBuffer ( )

Definition at line 1775 of file profiler.cc.

1776 : code_lookup_table_(new CodeLookupTable(Thread::Current())) {
1777 ASSERT(code_lookup_table_ != nullptr);
1778}
static Thread * Current()
Definition: thread.h:362
#define ASSERT(E)

Member Function Documentation

◆ Add()

void dart::ProcessedSampleBuffer::Add ( ProcessedSample sample)
inline

Definition at line 887 of file profiler.h.

887{ samples_.Add(sample); }

◆ At()

ProcessedSample * dart::ProcessedSampleBuffer::At ( intptr_t  index)
inline

Definition at line 891 of file profiler.h.

891{ return samples_.At(index); }

◆ code_lookup_table()

const CodeLookupTable & dart::ProcessedSampleBuffer::code_lookup_table ( ) const
inline

Definition at line 893 of file profiler.h.

893 {
894 return *code_lookup_table_;
895 }

◆ length()

intptr_t dart::ProcessedSampleBuffer::length ( ) const
inline

Definition at line 889 of file profiler.h.

889{ return samples_.length(); }

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