]> git.cworth.org Git - apitrace/commit
trim: Avoid doing any analysis past the end of the user-specified range.
authorCarl Worth <cworth@cworth.org>
Mon, 13 Aug 2012 03:41:50 +0000 (20:41 -0700)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Thu, 22 Nov 2012 08:03:02 +0000 (08:03 +0000)
commit5b827e13413d9790981601522eb9fe5070e5615e
tree77b430b8b8f69c0cd542b1bf351f43f6da86fd37
parent86464430187cdc085ca5339c4d665b66b62be2eb
trim: Avoid doing any analysis past the end of the user-specified range.

This doesn't actually change any results, (the dependency analysis
already ensures that calls beyond the range won't get included).

But this is a nice optimization to prevent wasted time and memory
analyzing these calls that are really easy to reject.
cli/cli_trim.cpp
common/trace_callset.cpp
common/trace_callset.hpp