summaryrefslogtreecommitdiffstats
path: root/gpu
diff options
context:
space:
mode:
authornduca@chromium.org <nduca@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-27 05:34:19 +0000
committernduca@chromium.org <nduca@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-27 05:34:19 +0000
commite275aa4ab41d51be8a7e209711bb04a1309e9897 (patch)
tree688ffa849f3607fa6b5fd2db45a09f8445cd3e69 /gpu
parent8537bacf1bf125c5989cc84067724c81d99dcada (diff)
downloadchromium_src-e275aa4ab41d51be8a7e209711bb04a1309e9897.zip
chromium_src-e275aa4ab41d51be8a7e209711bb04a1309e9897.tar.gz
chromium_src-e275aa4ab41d51be8a7e209711bb04a1309e9897.tar.bz2
Temporarily disable timestamping of decoding time
BUG=152618 TBR=reveman@chromium.org,piman@chromium.org Review URL: https://codereview.chromium.org/10979049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158979 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu')
-rw-r--r--gpu/command_buffer/service/gles2_cmd_decoder.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc
index 4a3c6e2..50e985c 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
@@ -3285,7 +3285,6 @@ error::Error GLES2DecoderImpl::DoCommand(
unsigned int arg_count,
const void* cmd_data) {
error::Error result = error::kNoError;
- base::TimeTicks begin_time(base::TimeTicks::HighResNow());
if (log_commands()) {
// TODO(notme): Change this to a LOG/VLOG that works in release. Tried
// LOG(INFO), tried VLOG(1), no luck.
@@ -3330,8 +3329,6 @@ error::Error GLES2DecoderImpl::DoCommand(
result = current_decoder_error_;
current_decoder_error_ = error::kNoError;
}
- total_processing_commands_time_ +=
- base::TimeTicks::HighResNow() - begin_time;
return result;
}