diff options
author | backer@chromium.org <backer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-19 20:43:13 +0000 |
---|---|---|
committer | backer@chromium.org <backer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-19 20:43:13 +0000 |
commit | 3263a9f3effa35ca44d7d820154b7f871cab77c8 (patch) | |
tree | ab2fc3f3327d6418d1bf9851f3a1a419cfdd653b /ui/gl | |
parent | a56aa369aaf8989fa8f2cdcaea4f2b3d10508cfa (diff) | |
download | chromium_src-3263a9f3effa35ca44d7d820154b7f871cab77c8.zip chromium_src-3263a9f3effa35ca44d7d820154b7f871cab77c8.tar.gz chromium_src-3263a9f3effa35ca44d7d820154b7f871cab77c8.tar.bz2 |
CrOS: Add more instrumentation to LOG(FATAL) vsync message.
BUG=221701
Review URL: https://chromiumcodereview.appspot.com/12440040
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189092 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gl')
-rw-r--r-- | ui/gl/vsync_provider.cc | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ui/gl/vsync_provider.cc b/ui/gl/vsync_provider.cc index 06ec4dd..a09f376 100644 --- a/ui/gl/vsync_provider.cc +++ b/ui/gl/vsync_provider.cc @@ -105,7 +105,15 @@ void SyncControlVSyncProvider::GetVSyncParameters( if (last_good_interval_.InMicroseconds() < kMinVsyncIntervalUs || last_good_interval_.InMicroseconds() > kMaxVsyncIntervalUs) { LOG(FATAL) << "Calculated bogus refresh interval of " - << last_good_interval_.InMicroseconds() << " us."; + << last_good_interval_.InMicroseconds() << " us. " + << "Last time base of " + << last_timebase_.ToInternalValue() << " us. " + << "Current time base of " + << timebase.ToInternalValue() << " us. " + << "Last media stream count of " + << last_media_stream_counter_ << ". " + << "Current media stream count of " + << media_stream_counter << "."; } last_timebase_ = timebase; |