Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Long time to instrument #215

Open
bprail opened this issue Dec 4, 2018 · 0 comments
Open

Long time to instrument #215

bprail opened this issue Dec 4, 2018 · 0 comments
Assignees
Labels

Comments

@bprail
Copy link
Owner

bprail commented Dec 4, 2018

Email reported issue

  1. I changed my makefile to run contech wrapper (contech_wrapper_par.py). However, the long timing cost problem has not been solved yet. I am using the ccv library, a c-based computer vision library (https://github.com/liuliu/ccv). I suppose the library codes in "lib" directory should also be instrumented in order to better emit a trace for applications in "bin". And the contech wrapper code indeed does llvm-link to the object files in "lib" and specific object file in "bin". Then the Contech runtime instrument takes long time to complete. I am not sure whether the reason is the library scripts is too long for runtime instrument to complete. The total basic block number is ~172,000. Based on my experience, the llvm runtime instrument takes longer when more IR codes are linked together.
    • pcall([OPT, "-load=" + LLVMCONTECH, "-Contech", out + ".link.bc", "-o", out + "_ct.link.bc", "-ContechState", stateFile])
@bprail bprail self-assigned this Dec 4, 2018
@bprail bprail added the bug label Dec 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant