contech icon indicating copy to clipboard operation
contech copied to clipboard

Long time to instrument

Open bprail opened this issue 7 years ago • 0 comments

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 avatar Dec 04 '18 13:12 bprail