有没有什么隐藏的选择,可以把成本中心放在图书馆?目前,我已经这样设置了我的分析:
阴谋集团:
ghc-prof-options: -O2
-threaded
-fexcess-precision
-fprof-auto
-rtsopts
"-with-rtsopts=-N -p -s -h -i0.1" exec:
# cabal sandbox init
# cabal install --enable-library-profiling --enable-executable-profiling
# cabal configure --enable-library-profiling --enable-executable-profiling
# cabal run当程序完成时,这将工作并创建预期的.prof文件、.hp文件和摘要。
问题是.prof文件不包含任何不属于当前项目的内容。我的猜测是,可能有一种选择将成本中心放在外部库代码中?
发布于 2014-12-02 14:21:59
https://stackoverflow.com/questions/27015446
复制相似问题