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

Side by Side Diff: gpu/ipc/common/memory_stats.cc

Issue 2310623002: Remove GPU memory UMAs (Closed)
Patch Set: Rebase Created 4 years, 3 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
« no previous file with comments | « gpu/ipc/common/memory_stats.h ('k') | gpu/ipc/service/gpu_channel_manager_delegate.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "gpu/ipc/common/memory_stats.h" 5 #include "gpu/ipc/common/memory_stats.h"
6 6
7 namespace gpu { 7 namespace gpu {
8 8
9 VideoMemoryUsageStats::VideoMemoryUsageStats() 9 VideoMemoryUsageStats::VideoMemoryUsageStats()
10 : bytes_allocated(0), bytes_allocated_historical_max(0) {} 10 : bytes_allocated(0) {}
11 11
12 VideoMemoryUsageStats::VideoMemoryUsageStats( 12 VideoMemoryUsageStats::VideoMemoryUsageStats(
13 const VideoMemoryUsageStats& other) = default; 13 const VideoMemoryUsageStats& other) = default;
14 14
15 VideoMemoryUsageStats::~VideoMemoryUsageStats() {} 15 VideoMemoryUsageStats::~VideoMemoryUsageStats() {}
16 16
17 VideoMemoryUsageStats::ProcessStats::ProcessStats() 17 VideoMemoryUsageStats::ProcessStats::ProcessStats()
18 : video_memory(0), has_duplicates(false) {} 18 : video_memory(0), has_duplicates(false) {}
19 19
20 VideoMemoryUsageStats::ProcessStats::~ProcessStats() {} 20 VideoMemoryUsageStats::ProcessStats::~ProcessStats() {}
21 21
22 } // namespace gpu 22 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/ipc/common/memory_stats.h ('k') | gpu/ipc/service/gpu_channel_manager_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698