Skip to content

Long time to instrument #215

Description

@bprail

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])

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions