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

Side by Side Diff: runtime/vm/spaces.h

Issue 220723010: Generalize the interface of page space controller. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 8 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/vm/scavenger.h ('k') | runtime/vm/vm_sources.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
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.
4
5 #ifndef VM_SPACES_H_
6 #define VM_SPACES_H_
7
8 // This file contains utilities shared by old and new space.
9 // TODO(koda): Create Space base class with Space::CurrentUsage().
10
11 namespace dart {
12
13 // Usage statistics for a space/generation at a particular moment in time.
14 struct SpaceUsage {
15 SpaceUsage()
16 : capacity_in_words(0),
17 used_in_words(0),
18 external_in_words(0) {}
19 intptr_t capacity_in_words;
20 intptr_t used_in_words;
21 intptr_t external_in_words;
22 };
23
24 } // namespace dart
25
26 #endif // VM_SPACES_H_
OLDNEW
« no previous file with comments | « runtime/vm/scavenger.h ('k') | runtime/vm/vm_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698