• Zhang, Shiyu's avatar
    Support Intel VTune ITT API · 5f5b4b04
    Zhang, Shiyu authored
    Add VTune domain support extension to use VTune Domain/Task API and
    tagging trace data for particular JS code block.
    
    How to use:
    1. Set `"checkout_ittapi" = True` in the custom_vars section of .gclient
    file to download intel/ittapi by 'gclient sync'
    2. Build d8 with gn build flag 'v8_enable_vtunetracemark = true'
    3. Run d8 with flag '--enable-vtune-domain-support'
    
    The Vtune Domain/Task API can be invoked from JS to mark JS code block.
    You can mark the start of a JS task by
        vtunedomainmark(domain_name, task_name, "start")
    and the end of a task by
        vtunedomainmark(domain_name, task_name, "end")
    Tasks can nest.
    
    The VTune API (ittapi) is integrated as an external third party library
    while the v8_vtune_jit also relies on the VTune ittapi. We have another
    patch almost ready which refactors the v8_vtune_jit related code to
    depend on the third_party/ittapi. We will submit the refactored v8_vtune_jit
    code after this patch stabilized and landed.
    
    
    Contributed by fanchen.kong@intel.com
    
    Change-Id: I0ecc9dd4e1ea52545f1b6932fcdadfa7c1a6d2b2
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1938490
    Commit-Queue: Shiyu Zhang <shiyu.zhang@intel.com>
    Reviewed-by: 's avatarHannes Payer <hpayer@chromium.org>
    Reviewed-by: 's avatarToon Verwaest <verwaest@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#65409}
    5f5b4b04
Name
Last commit
Last update
build_overrides Loading commit data...
custom_deps Loading commit data...
docs Loading commit data...
gni Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.clang-tidy Loading commit data...
.editorconfig Loading commit data...
.flake8 Loading commit data...
.git-blame-ignore-revs Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.vpython Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
COMMON_OWNERS Loading commit data...
DEPS Loading commit data...
ENG_REVIEW_OWNERS Loading commit data...
INFRA_OWNERS Loading commit data...
INTL_OWNERS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
MIPS_OWNERS Loading commit data...
OWNERS Loading commit data...
PPC_OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
S390_OWNERS Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...