• Dan Elphick's avatar
    [compiler] Add runtime stats for every pipeline phase · a38b010c
    Dan Elphick authored
    Each Pipeline phase now declares kRuntimeCallCounterId which is used to
    record the runtime stats for the duration of the phase. As a result
    some manually instantiated counters are removed.
    
    All counters have the same name as the phase name with the v8.TF prefix
    replaced with Optimize. To enforce this, the existing phase_name
    declaration in each phase has been replaced with a macro that also
    declares the counter id and its mode.
    
    Bug: v8:10006
    Change-Id: I836582298b60c30eb794f4c45a8bb16efa17a38e
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1943161Reviewed-by: 's avatarGeorg Neis <neis@chromium.org>
    Commit-Queue: Dan Elphick <delphick@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#65289}
    a38b010c
pipeline.cc 128 KB