diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-17 00:34:38 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-17 00:34:38 +0000 |
commit | 9db9c91eb1db09e024449309f0383932eb69a0ed (patch) | |
tree | 4795a8031a5a9e8646fa7b9c7402b5c5daaf4e62 /ipc | |
parent | 88dcdb78847445fb487e849d987c15694cf109cb (diff) | |
download | chromium_src-9db9c91eb1db09e024449309f0383932eb69a0ed.zip chromium_src-9db9c91eb1db09e024449309f0383932eb69a0ed.tar.gz chromium_src-9db9c91eb1db09e024449309f0383932eb69a0ed.tar.bz2 |
base: Split logging functions and PerfTimeLogger out of perftimer.h
Soon PerfTimer will move into base/timer/ directory as it is already used by
production code.
This splits the logging stuff into their owns files and also moves
PerfTimeLogger into its own files.
BUG=None
TEST=base_unittests, ipc_perftests, etc...
R=brettw@chromium.org
Review URL: https://chromiumcodereview.appspot.com/23985006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223486 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/ipc_perftests.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ipc/ipc_perftests.cc b/ipc/ipc_perftests.cc index c9891dce..e7eeab9 100644 --- a/ipc/ipc_perftests.cc +++ b/ipc/ipc_perftests.cc @@ -12,7 +12,7 @@ #include "base/memory/scoped_ptr.h" #include "base/pickle.h" #include "base/strings/stringprintf.h" -#include "base/test/perftimer.h" +#include "base/test/perf_time_logger.h" #include "base/threading/thread.h" #include "base/time/time.h" #include "ipc/ipc_channel.h" @@ -184,7 +184,7 @@ class PerformanceChannelListener : public IPC::Listener { DCHECK(!perf_logger_.get()); std::string test_name = base::StringPrintf( "IPC_Perf_%dx_%u", msg_count_, static_cast<unsigned>(msg_size_)); - perf_logger_.reset(new PerfTimeLogger(test_name.c_str())); + perf_logger_.reset(new base::PerfTimeLogger(test_name.c_str())); } else { DCHECK_EQ(payload_.size(), reflected_payload.size()); @@ -217,7 +217,7 @@ class PerformanceChannelListener : public IPC::Listener { int count_down_; std::string payload_; EventTimeTracker latency_tracker_; - scoped_ptr<PerfTimeLogger> perf_logger_; + scoped_ptr<base::PerfTimeLogger> perf_logger_; }; TEST_F(IPCChannelPerfTest, Performance) { |