Reviewers: Jakob, loislo,

Description:
Improve test-cpu-profiler.cc tests stability

The tests sometimes fail on bots as they don't have time to collect enough
samples. This change makes them use counter of samples taken when v8 is either in JS or EXTERNAL state and repeat sampling until desired threshold is reached.

BUG=v8:2628

Please review this at https://codereview.chromium.org/18418004/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/sampler.h
  M src/sampler.cc
  M test/cctest/test-cpu-profiler.cc


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to