summaryrefslogtreecommitdiffstats
path: root/runtime/trace.cc
diff options
context:
space:
mode:
authorJeff Hao <jeffhao@google.com>2013-08-19 12:17:08 -0700
committerJeff Hao <jeffhao@google.com>2013-08-19 12:17:08 -0700
commita95ba83db7cd598902df514caf211046e9f37bde (patch)
tree994bac615c3b24f8dc73a162b6e59465b3f58cad /runtime/trace.cc
parent1edce4d5bf14ea657b99e0fee0a2a90490230b59 (diff)
downloadart-a95ba83db7cd598902df514caf211046e9f37bde.tar.gz
art-a95ba83db7cd598902df514caf211046e9f37bde.tar.bz2
art-a95ba83db7cd598902df514caf211046e9f37bde.zip
Change default sampling interval to 1000 samples/sec.
Change-Id: Ib92aee8a91ac9d6702a1cec58130e346fd3fcade
Diffstat (limited to 'runtime/trace.cc')
-rw-r--r--runtime/trace.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/trace.cc b/runtime/trace.cc
index 3a8ba62840..4c092fd8b5 100644
--- a/runtime/trace.cc
+++ b/runtime/trace.cc
@@ -124,7 +124,7 @@ ProfilerClockSource Trace::default_clock_source_ = kProfilerClockSourceWall;
Trace* volatile Trace::the_trace_ = NULL;
// TODO: Add way to enable sampling and set interval through gui.
bool Trace::sampling_enabled_ = true;
-uint32_t Trace::sampling_interval_us_ = 10000;
+uint32_t Trace::sampling_interval_us_ = 1000;
pthread_t Trace::sampling_pthread_ = 0U;
UniquePtr<std::vector<mirror::ArtMethod*> > Trace::temp_stack_trace_;