• Clemens Hammacher's avatar
    [wasm] Add counters for asynchronous compile time · d1054287
    Clemens Hammacher authored
    We currently only sample synchronous compilation via
    "V8.WasmCompileModuleMicroSeconds.wasm". This adds a similar counter
    for asynchronous and streaming compilation. Both use the
    {AsyncCompileJob}, which now records the start time of compilation and
    records a sample when baseline compilation finished.
    The sample will only be taken if a high-resolution clock is available.
    
    R=ahaas@chromium.org
    CC=jwd@chromium.org
    
    Bug: chromium:978425
    Change-Id: I4b083a8ebba685a1cc8fa87bfe30e9a0943e3394
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1675963Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
    Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#62367}
    d1054287
Name
Last commit
Last update
..
OWNERS Loading commit data...
code-events.h Loading commit data...
counters-definitions.h Loading commit data...
counters-inl.h Loading commit data...
counters.cc Loading commit data...
counters.h Loading commit data...
log-inl.h Loading commit data...
log-utils.cc Loading commit data...
log-utils.h Loading commit data...
log.cc Loading commit data...
log.h Loading commit data...