[wasm] Add counter for the number of cache events
With dynamic tiering, caching is triggered multiple times as there is no single event anymore that triggers when the module should be cached. This CL adds a counter for the number of times caching is triggered. This counter can indicate whether our current caching heuristics are good or should get adjusted. R=thibaudm@chromium.org Bug: v8:12281 Change-Id: I8ed9ed73a556d11df643c31ec6d20760a257e0d4 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3295578Reviewed-by: Thibaud Michaud <thibaudm@chromium.org> Commit-Queue: Andreas Haas <ahaas@chromium.org> Cr-Commit-Position: refs/heads/main@{#78045}
Showing
Please
register
or
sign in
to comment