| Index: runtime/vm/service/service.idl
|
| diff --git a/runtime/vm/service/service.idl b/runtime/vm/service/service.idl
|
| index f10ccc796165dce21156b0bdb2edc969c6afb783..e91537814e81502cf4a3fe2f00271f86ae4e3ccb 100644
|
| --- a/runtime/vm/service/service.idl
|
| +++ b/runtime/vm/service/service.idl
|
| @@ -82,6 +82,16 @@ interface Service {
|
| getTypeArgumentsList(isolateId string,
|
| onlyWithInstantiations bool) TypeArgumentsList
|
|
|
| + getIsolateMetricList(isolateId string,
|
| + type MetricSelector) MetricList
|
| +
|
| + getIsolateMetric(isolateId string,
|
| + metricId string) Metric
|
| +
|
| + getVMMetricList() MetricList
|
| +
|
| + getVMMetric(metricId string) Metric
|
| +
|
| _echo(isolateId string,
|
| text string) _EchoResponse
|
|
|
| @@ -320,18 +330,41 @@ struct InboundReference {
|
| }
|
|
|
|
|
| -struct ClassList {
|
| +struct ClassList extends Response {
|
| classes []ClassRef
|
| }
|
|
|
|
|
| -struct TypeArgumentsList {
|
| +struct TypeArgumentsList extends Response {
|
| tableSize int
|
| tableUsed int
|
| typeArguments []TypeArgumentsRef
|
| }
|
|
|
|
|
| +struct MetricList extends Response {
|
| + metrics []Metric
|
| +}
|
| +
|
| +
|
| +struct Metric extends Response {
|
| + name string
|
| + description string
|
| +}
|
| +
|
| +
|
| +struct Gauge extends Metric {
|
| + value double
|
| + min double
|
| + max double
|
| +}
|
| +
|
| +
|
| +struct Counter extends Metric {
|
| + value double
|
| +}
|
| +
|
| +
|
| // A <code>GCOption</code> is used to indicate which form of garbage
|
| // collection is requested.
|
| enum GCOption {
|
| @@ -356,3 +389,9 @@ enum TagSelector {
|
| None
|
| }
|
|
|
| +// A <code>MetricSelector</code> is used to indicate which list of metrics
|
| +// should be retrieved from an isolate.
|
| +enum MetricSelector {
|
| + Dart,
|
| + Native,
|
| +}
|
|
|