Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
dart::ProfileCodeAddress Class Reference

#include <profiler_service.h>

Public Member Functions

 ProfileCodeAddress (uword pc)
 
void Tick (bool exclusive)
 
uword pc () const
 
intptr_t exclusive_ticks () const
 
intptr_t inclusive_ticks () const
 

Detailed Description

Definition at line 215 of file profiler_service.h.

Constructor & Destructor Documentation

◆ ProfileCodeAddress()

dart::ProfileCodeAddress::ProfileCodeAddress ( uword  pc)
explicit

Definition at line 241 of file profiler_service.cc.

242 : pc_(pc), exclusive_ticks_(0), inclusive_ticks_(0) {}

Member Function Documentation

◆ exclusive_ticks()

intptr_t dart::ProfileCodeAddress::exclusive_ticks ( ) const
inline

Definition at line 222 of file profiler_service.h.

222{ return exclusive_ticks_; }

◆ inclusive_ticks()

intptr_t dart::ProfileCodeAddress::inclusive_ticks ( ) const
inline

Definition at line 223 of file profiler_service.h.

223{ return inclusive_ticks_; }

◆ pc()

uword dart::ProfileCodeAddress::pc ( ) const
inline

Definition at line 221 of file profiler_service.h.

221{ return pc_; }

◆ Tick()

void dart::ProfileCodeAddress::Tick ( bool  exclusive)

Definition at line 244 of file profiler_service.cc.

244 {
245 if (exclusive) {
246 exclusive_ticks_++;
247 } else {
248 inclusive_ticks_++;
249 }
250}

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