Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::MetricHeapOldCapacity Class Reference

#include <metrics.h>

Inheritance diagram for dart::MetricHeapOldCapacity:
dart::Metric

Public Member Functions

virtual int64_t Value () 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
 

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 151 of file metrics.h.

Member Function Documentation

◆ Value()

int64_t dart::MetricHeapOldCapacity::Value ( ) const
virtual

Reimplemented from dart::Metric.

Definition at line 149 of file metrics.cc.

149 {
152}
@ kOld
Definition: heap.h:39
intptr_t CapacityInWords(Space space) const
Definition: heap.cc:806
Heap * heap() const
Definition: isolate.h:296
static IsolateGroup * Current()
Definition: isolate.h:539
IsolateGroup * isolate_group() const
Definition: metrics.h:108
#define ASSERT(E)
constexpr intptr_t kWordSize
Definition: globals.h:509

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