]> git.notmuchmail.org Git - apitrace/commit
Extend trim::CallSet with a new range-based add method.
authorCarl Worth <cworth@cworth.org>
Mon, 11 Mar 2013 19:14:06 +0000 (12:14 -0700)
committerCarl Worth <cworth@cworth.org>
Fri, 12 Apr 2013 21:30:38 +0000 (14:30 -0700)
commit22dc6014ecb09547929c45a8fb82820740230589
tree3d9e21a07cc12288eab5978e49885353840bedab
parent166e4c0065829d26b2d0272335f983162d9ab4df
Extend trim::CallSet with a new range-based add method.

Previously, individual calls had to be added one-at-a-time. This was
adequate for trimming functionality where one call is examined at a
time.

But I'm now wanting to use this same CallSet code to dramatically
optimize the performance of callset specifications on the apitrace
command-line, (in particular large callsets resulting from "apitrace
trim --print-callset"). In this case, we really want to add entire
call ranges rather than just one call at a time.
cli/trim_callset.cpp
cli/trim_callset.hpp