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

Side by Side Diff: base/test/scoped_memory_usage.h

Issue 2440393002: [tracing] Implement composable memory usage estimators. (Closed)
Patch Set: Rebase 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 | « base/test/BUILD.gn ('k') | base/test/scoped_memory_usage.cc » ('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 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef BASE_TEST_SCOPED_MEMORY_USAGE_H_
6 #define BASE_TEST_SCOPED_MEMORY_USAGE_H_
7
8 #include <stddef.h>
9
10 #include "base/macros.h"
11
12 namespace base {
13 namespace test {
14
15 class ScopedMemoryUsage {
16 public:
17 ScopedMemoryUsage();
18 ~ScopedMemoryUsage();
19
20 size_t Usage() const;
21
22 static void Initialize();
23 };
24
25 } // namespace test
26 } // namespace base
27
28 #endif // BASE_TEST_SCOPED_MEMORY_USAGE_H_
OLDNEW
« no previous file with comments | « base/test/BUILD.gn ('k') | base/test/scoped_memory_usage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698