DescriptionMake all tests profilable
We did not run profiling on unit and perf tests even when the
enable_profiling build flag was present. In order to dump profiling data,
base::debug::StartProfiling(..) must be called somewhere. I've moved that
code to base::TestSuite. Note that this code is a no-op unless the profiling
build flag is present.
BUG=624459
TBR=sky@chromium.org
Committed: https://crrev.com/2573dfb1ec3c99ab6d7c1863b8e6a7a24f4fe626
Cr-Commit-Position: refs/heads/master@{#404522}
Patch Set 1 #
Messages
Total messages: 14 (6 generated)
|