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

Unified Diff: content/gpu/gpu_child_thread.cc

Issue 715273002: [content/gpu] Convert VLOGs to DVLOGs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed comments Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/gpu/gpu_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_child_thread.cc
diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc
index f47294b9d66fc29e9e1ae91348656f5af56a64df..0bcfe8b97e76bba19da7d2362cd1d8db0377295a 100644
--- a/content/gpu/gpu_child_thread.cc
+++ b/content/gpu/gpu_child_thread.cc
@@ -198,7 +198,7 @@ void GpuChildThread::OnCollectGraphicsInfo() {
// TODO(piman): can we signal overall failure?
break;
case gpu::kCollectInfoNonFatalFailure:
- VLOG(1) << "gpu::CollectGraphicsInfo failed (non-fatal).";
+ DVLOG(1) << "gpu::CollectGraphicsInfo failed (non-fatal).";
break;
case gpu::kCollectInfoNone:
NOTREACHED();
@@ -235,20 +235,20 @@ void GpuChildThread::OnGetVideoMemoryUsageStats() {
}
void GpuChildThread::OnClean() {
- VLOG(1) << "GPU: Removing all contexts";
+ DVLOG(1) << "GPU: Removing all contexts";
if (gpu_channel_manager_)
gpu_channel_manager_->LoseAllContexts();
}
void GpuChildThread::OnCrash() {
- VLOG(1) << "GPU: Simulating GPU crash";
+ DVLOG(1) << "GPU: Simulating GPU crash";
// Good bye, cruel world.
volatile int* it_s_the_end_of_the_world_as_we_know_it = NULL;
*it_s_the_end_of_the_world_as_we_know_it = 0xdead;
}
void GpuChildThread::OnHang() {
- VLOG(1) << "GPU: Simulating GPU hang";
+ DVLOG(1) << "GPU: Simulating GPU hang";
for (;;) {
// Do not sleep here. The GPU watchdog timer tracks the amount of user
// time this thread is using and it doesn't use much while calling Sleep.
@@ -256,7 +256,7 @@ void GpuChildThread::OnHang() {
}
void GpuChildThread::OnDisableWatchdog() {
- VLOG(1) << "GPU: Disabling watchdog thread";
+ DVLOG(1) << "GPU: Disabling watchdog thread";
if (watchdog_thread_.get()) {
// Disarm the watchdog before shutting down the message loop. This prevents
// the future posting of tasks to the message loop.
@@ -268,7 +268,7 @@ void GpuChildThread::OnDisableWatchdog() {
}
void GpuChildThread::OnGpuSwitched() {
- VLOG(1) << "GPU: GPU has switched";
+ DVLOG(1) << "GPU: GPU has switched";
// Notify observers in the GPU process.
ui::GpuSwitchingManager::GetInstance()->NotifyGpuSwitched();
}
« no previous file with comments | « no previous file | content/gpu/gpu_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698