• alph's avatar
    Unflake CPU profiler tests. · 1b6265ef
    alph authored
    Do not rely on elapsed time to collect enough samples.
    Use CollectSample API function instead.
    
    Remove checks for extra functions present in a profile, as
    there in fact can be lots of native support functions.
    
    BUG=v8:2999
    LOG=N
    
    Review URL: https://codereview.chromium.org/1665303004
    
    Cr-Commit-Position: refs/heads/master@{#33822}
    1b6265ef
test-cpu-profiler.cc 66.6 KB