Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Classes | Namespaces | Functions | Variables
profiler_test.cc File Reference
#include "platform/assert.h"
#include "vm/dart_api_impl.h"
#include "vm/dart_api_state.h"
#include "vm/globals.h"
#include "vm/profiler.h"
#include "vm/profiler_service.h"
#include "vm/source_report.h"
#include "vm/symbols.h"
#include "vm/unit_test.h"

Go to the source code of this file.

Classes

class  dart::DisableNativeProfileScope
 
class  dart::MaxProfileDepthScope
 
class  dart::ProfileSampleBufferTestHelper
 
class  dart::SampleBlockBufferOverrideScope
 
class  dart::AllocationFilter
 
class  dart::ProfileStackWalker
 

Namespaces

namespace  dart
 

Functions

 dart::DECLARE_FLAG (bool, profile_vm)
 
 dart::DECLARE_FLAG (bool, profile_vm_allocation)
 
 dart::DECLARE_FLAG (int, max_profile_depth)
 
 dart::DECLARE_FLAG (int, optimization_counter_threshold)
 
static void dart::VisitSamples (SampleBlockBuffer *buffer, SampleVisitor *visitor)
 
 dart::TEST_CASE (Profiler_SampleBufferWrapTest)
 
 dart::TEST_CASE (Profiler_SampleBufferIterateTest)
 
 dart::TEST_CASE (Profiler_AllocationSampleTest)
 
static LibraryPtr dart::LoadTestScript (const char *script)
 
ClassPtr dart::GetClass (const Library &lib, const char *name)
 
FunctionPtr dart::GetFunction (const Library &lib, const char *name)
 
static void dart::Invoke (const Library &lib, const char *name, intptr_t argc=0, Dart_Handle *argv=nullptr)
 
static void dart::EnableProfiler ()
 
 dart::ISOLATE_UNIT_TEST_CASE (Profiler_TrivialRecordAllocation)
 
 dart::ISOLATE_UNIT_TEST_CASE (Profiler_NullSampleBuffer)
 
 dart::ISOLATE_UNIT_TEST_CASE (Profiler_ToggleRecordAllocation)
 
 dart::ISOLATE_UNIT_TEST_CASE (Profiler_CodeTicks)
 
 dart::ISOLATE_UNIT_TEST_CASE (Profiler_FunctionTicks)
 
 dart::ISOLATE_UNIT_TEST_CASE (Profiler_IntrinsicAllocation)
 
 dart::ISOLATE_UNIT_TEST_CASE (Profiler_ArrayAllocation)
 
 dart::ISOLATE_UNIT_TEST_CASE (Profiler_ContextAllocation)
 
 dart::ISOLATE_UNIT_TEST_CASE (Profiler_ClosureAllocation)
 
 dart::ISOLATE_UNIT_TEST_CASE (Profiler_TypedArrayAllocation)
 
 dart::ISOLATE_UNIT_TEST_CASE (Profiler_StringAllocation)
 
 dart::ISOLATE_UNIT_TEST_CASE (Profiler_StringInterpolation)
 
 dart::ISOLATE_UNIT_TEST_CASE (Profiler_FunctionInline)
 
 dart::ISOLATE_UNIT_TEST_CASE (Profiler_InliningIntervalBoundary)
 
 dart::ISOLATE_UNIT_TEST_CASE (Profiler_ChainedSamples)
 
 dart::ISOLATE_UNIT_TEST_CASE (Profiler_BasicSourcePosition)
 
 dart::ISOLATE_UNIT_TEST_CASE (Profiler_BasicSourcePositionOptimized)
 
 dart::ISOLATE_UNIT_TEST_CASE (Profiler_SourcePosition)
 
 dart::ISOLATE_UNIT_TEST_CASE (Profiler_SourcePositionOptimized)
 
 dart::ISOLATE_UNIT_TEST_CASE (Profiler_BinaryOperatorSourcePosition)
 
 dart::ISOLATE_UNIT_TEST_CASE (Profiler_BinaryOperatorSourcePositionOptimized)
 
static void dart::InsertFakeSample (uword *pc_offsets)
 
static uword dart::FindPCForTokenPosition (const Code &code, TokenPosition tp)
 
 dart::ISOLATE_UNIT_TEST_CASE (Profiler_GetSourceReport)
 
 dart::ISOLATE_UNIT_TEST_CASE (Profiler_ProfileCodeTableTest)
 
 dart::ISOLATE_UNIT_TEST_CASE (Profiler_EnterExitIsolate)
 

Variables

const int64_t dart::kValidTimeStamp = 1
 
const uword dart::kValidPc = 0xFF