Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::MaxProfileDepthScope Class Reference
Inheritance diagram for dart::MaxProfileDepthScope:
dart::ValueObject

Public Member Functions

 MaxProfileDepthScope (intptr_t new_max_depth)
 
 ~MaxProfileDepthScope ()
 
- Public Member Functions inherited from dart::ValueObject
 ValueObject ()
 
 ~ValueObject ()
 

Detailed Description

Definition at line 52 of file profiler_test.cc.

Constructor & Destructor Documentation

◆ MaxProfileDepthScope()

dart::MaxProfileDepthScope::MaxProfileDepthScope ( intptr_t  new_max_depth)
inlineexplicit

Definition at line 54 of file profiler_test.cc.

55 : FLAG_max_profile_depth_(FLAG_max_profile_depth) {
56 Profiler::SetSampleDepth(new_max_depth);
57 }
static void SetSampleDepth(intptr_t depth)
Definition: profiler.cc:625

◆ ~MaxProfileDepthScope()

dart::MaxProfileDepthScope::~MaxProfileDepthScope ( )
inline

Definition at line 59 of file profiler_test.cc.

59{ Profiler::SetSampleDepth(FLAG_max_profile_depth_); }

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