6312736130
One reason for this is to provide a structured alternative to the ad hoc logging format of --verbose_gc, and to move some functionality currently provided by standalone one-off scripts into the observatory. Add first unit test for events. R=johnmccutchan@google.com Review URL: https://codereview.chromium.org//434763002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39014 260f80e4-7a28-3924-810f-c04153c831b5
20 lines
690 B
Dart
20 lines
690 B
Dart
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
part of vmservice;
|
|
|
|
// These must be kept in sync with runtime/vm/service.cc.
|
|
class Constants {
|
|
static const int ISOLATE_STARTUP_MESSAGE_ID = 1;
|
|
static const int ISOLATE_SHUTDOWN_MESSAGE_ID = 2;
|
|
|
|
// Event family ids.
|
|
static const int EVENT_FAMILY_DEBUG = 0;
|
|
static const int EVENT_FAMILY_GC = 1;
|
|
|
|
// Event family masks.
|
|
static const int EVENT_FAMILY_DEBUG_MASK = (1 << EVENT_FAMILY_DEBUG);
|
|
static const int EVENT_FAMILY_DEBUG_GC = (1 << EVENT_FAMILY_GC);
|
|
}
|