]> git.cworth.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)
committerJosé Fonseca <jfonseca@vmware.com>
Sun, 16 Jun 2013 08:33:18 +0000 (09:33 +0100)
commited1b1ea65a820dbab6a5b0d7be15c95f8e1d64dc
treee72d557864c688bec64a67da13b285c66f9b168a
parent175f5d675d1406dbbe08e60cfc71a347a6a37482
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