#include <profiler_service.h>
Definition at line 42 of file profiler_service.h.
◆ ProfileFunctionSourcePosition()
dart::ProfileFunctionSourcePosition::ProfileFunctionSourcePosition |
( |
TokenPosition |
token_pos | ) |
|
|
explicit |
Definition at line 44 of file profiler_service.cc.
46 : token_pos_(
token_pos), exclusive_ticks_(0), inclusive_ticks_(0) {}
TokenPosition token_pos() const
◆ exclusive_ticks()
intptr_t dart::ProfileFunctionSourcePosition::exclusive_ticks |
( |
| ) |
const |
|
inline |
◆ inclusive_ticks()
intptr_t dart::ProfileFunctionSourcePosition::inclusive_ticks |
( |
| ) |
const |
|
inline |
◆ Tick()
void dart::ProfileFunctionSourcePosition::Tick |
( |
bool |
exclusive | ) |
|
Definition at line 48 of file profiler_service.cc.
48 {
49 if (exclusive) {
50 exclusive_ticks_++;
51 } else {
52 inclusive_ticks_++;
53 }
54}
◆ token_pos()
TokenPosition dart::ProfileFunctionSourcePosition::token_pos |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: