Make native accessors sleep for 1ms before measuring elapsed time. This is to check the theory that we cannot pause profiled thread on Win64 for some reason and miss many samples.
BUG=None
TBR=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
16656003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15016
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
double start = i::OS::TimeCurrentMillis();
double duration = 0;
while (duration < min_duration_ms_) {
+ i::OS::Sleep(1);
duration = i::OS::TimeCurrentMillis() - start;
++*iterations;
}