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

#include <profiler.h>

Inheritance diagram for dart::ClearProfileVisitor:
dart::SampleVisitor dart::ValueObject

Public Member Functions

 ClearProfileVisitor (Isolate *isolate)
 
virtual void VisitSample (Sample *sample)
 
- Public Member Functions inherited from dart::SampleVisitor
 SampleVisitor (Dart_Port port)
 
virtual ~SampleVisitor ()
 
virtual void VisitSample (Sample *sample)=0
 
virtual void Reset ()
 
intptr_t visited () const
 
void IncrementVisited ()
 
Dart_Port port () const
 
- Public Member Functions inherited from dart::ValueObject
 ValueObject ()
 
 ~ValueObject ()
 

Detailed Description

Definition at line 187 of file profiler.h.

Constructor & Destructor Documentation

◆ ClearProfileVisitor()

dart::ClearProfileVisitor::ClearProfileVisitor ( Isolate isolate)
explicit

Definition at line 993 of file profiler.cc.

994 : SampleVisitor(isolate->main_port()) {}
SampleVisitor(Dart_Port port)
Definition: profiler.h:125

Member Function Documentation

◆ VisitSample()

void dart::ClearProfileVisitor::VisitSample ( Sample sample)
virtual

Implements dart::SampleVisitor.

Definition at line 996 of file profiler.cc.

996 {
997 sample->Clear();
998}

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