Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Side by Side Diff: runtime/include/dart_debugger_api.h

Issue 12221022: Initial prototype of vmstats support, based on Dart VM Stats draft design doc. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/bin/vmstats_impl.cc ('k') | runtime/vm/debugger_api_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef INCLUDE_DART_DEBUGGER_API_H_ 5 #ifndef INCLUDE_DART_DEBUGGER_API_H_
6 #define INCLUDE_DART_DEBUGGER_API_H_ 6 #define INCLUDE_DART_DEBUGGER_API_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 9
10 typedef struct _Dart_Breakpoint* Dart_Breakpoint; 10 typedef struct _Dart_Breakpoint* Dart_Breakpoint;
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 571
572 572
573 /** 573 /**
574 * Returns the isolate object corresponding to the isolate id. 574 * Returns the isolate object corresponding to the isolate id.
575 * 575 *
576 * \return The Dart_Isolate object corresponding to the isolate id. 576 * \return The Dart_Isolate object corresponding to the isolate id.
577 * If the specified id is invalid NULL is returned. 577 * If the specified id is invalid NULL is returned.
578 */ 578 */
579 DART_EXPORT Dart_Isolate Dart_GetIsolate(Dart_IsolateId isolate_id); 579 DART_EXPORT Dart_Isolate Dart_GetIsolate(Dart_IsolateId isolate_id);
580 580
581
582 /**
583 * Returns VM status information. VM status is implemented using a
584 * different status plug-in for each type of status; for example, there
585 * might be an "isolate" plug-in that returns information about the
586 * current isolates.
587 *
588 * To get a list of status types, this function is called with a
589 * status_type parameter of "statustypes". This list is useful when
590 * building a status dashboard.
591 *
592 * TODO(tball): we need to figure out which isolate this command needs
593 * to be sent to after parsing the string and then send an OOB message
594 * to that isolate.
595 *
596 * \param request A REST-like string, which uses '/' to separate
597 * parameters. The first parameter is always the status type.
598 *
599 * \return The requested status as a JSON formatted string, with the
600 * contents defined by the status plug-in. The caller is responsible
601 * for freeing this string.
602 */
603 DART_EXPORT char* Dart_GetVmStatus(const char* request);
604
581 #endif // INCLUDE_DART_DEBUGGER_API_H_ 605 #endif // INCLUDE_DART_DEBUGGER_API_H_
OLDNEW
« no previous file with comments | « runtime/bin/vmstats_impl.cc ('k') | runtime/vm/debugger_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698