Flutter Engine
The Flutter Engine
Public Member Functions | Protected Member Functions | List of all members
dart::MyMetric Class Reference
Inheritance diagram for dart::MyMetric:
dart::Metric

Public Member Functions

int64_t LeakyValue () const
 
- Public Member Functions inherited from dart::Metric
 Metric ()
 
void InitInstance (Isolate *isolate, const char *name, const char *description, Unit unit)
 
void InitInstance (IsolateGroup *isolate_group, const char *name, const char *description, Unit unit)
 
void InitInstance (const char *name, const char *description, Unit unit)
 
virtual ~Metric ()
 
void PrintJSON (JSONStream *stream)
 
char * ToString ()
 
int64_t value () const
 
void set_value (int64_t value)
 
void increment ()
 
const char * name () const
 
const char * description () const
 
Unit unit () const
 
Isolateisolate () const
 
IsolateGroupisolate_group () const
 
virtual int64_t Value () const
 

Protected Member Functions

int64_t Value () const
 

Additional Inherited Members

- Public Types inherited from dart::Metric
enum  Unit { kCounter , kByte , kMicrosecond }
 
- Static Public Member Functions inherited from dart::Metric
static void Init ()
 
static void Cleanup ()
 
static char * ValueToString (int64_t value, Unit unit)
 
static Metricvm_head ()
 

Detailed Description

Definition at line 38 of file metrics_test.cc.

Member Function Documentation

◆ LeakyValue()

int64_t dart::MyMetric::LeakyValue ( ) const
inline

Definition at line 47 of file metrics_test.cc.

47{ return Value(); }
int64_t Value() const
Definition: metrics_test.cc:40

◆ Value()

int64_t dart::MyMetric::Value ( ) const
inlineprotectedvirtual

Reimplemented from dart::Metric.

Definition at line 40 of file metrics_test.cc.

40 {
41 // 99 bytes.
42 return 99;
43 }

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