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

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

Issue 2481873005: clang-format runtime/vm (Closed)
Patch Set: Merge Created 4 years, 1 month 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
« no previous file with comments | « runtime/vm/source_report_test.cc ('k') | runtime/vm/stack_frame.h » ('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) 2014, the Dart project authors. Please see the AUTHORS file 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 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 RUNTIME_VM_SPACES_H_ 5 #ifndef RUNTIME_VM_SPACES_H_
6 #define RUNTIME_VM_SPACES_H_ 6 #define RUNTIME_VM_SPACES_H_
7 7
8 // This file contains utilities shared by old and new space. 8 // This file contains utilities shared by old and new space.
9 // TODO(koda): Create Space base class with Space::CurrentUsage(). 9 // TODO(koda): Create Space base class with Space::CurrentUsage().
10 10
11 namespace dart { 11 namespace dart {
12 12
13 // Usage statistics for a space/generation at a particular moment in time. 13 // Usage statistics for a space/generation at a particular moment in time.
14 struct SpaceUsage { 14 struct SpaceUsage {
15 SpaceUsage() 15 SpaceUsage() : capacity_in_words(0), used_in_words(0), external_in_words(0) {}
16 : capacity_in_words(0),
17 used_in_words(0),
18 external_in_words(0) {}
19 intptr_t capacity_in_words; 16 intptr_t capacity_in_words;
20 intptr_t used_in_words; 17 intptr_t used_in_words;
21 intptr_t external_in_words; 18 intptr_t external_in_words;
22 }; 19 };
23 20
24 } // namespace dart 21 } // namespace dart
25 22
26 #endif // RUNTIME_VM_SPACES_H_ 23 #endif // RUNTIME_VM_SPACES_H_
OLDNEW
« no previous file with comments | « runtime/vm/source_report_test.cc ('k') | runtime/vm/stack_frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698