summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorDaniel Rosenberg <drosen@google.com>2020-11-02 21:57:45 -0800
committerDaniel Rosenberg <drosen@google.com>2020-12-02 21:31:22 -0800
commitc62fdd91c0966337f41736972b03c35988f0e4a4 (patch)
treed2ca1757a447037c69d13cf67a5bc50307f9dc15 /trusty/coverage/coverage.cpp
parentdd58ffd1a6aa8e4185d824220101b6316265a032 (diff)
libsnapshot: Group CowOperations into clusters
This introduces clusters of CowOperations to the Cow Format, improving reader performance by allowing many operations to be read at once. When the header's cluster_ops is a nonzero value, operations will be clumped into packs of that number, where the last op is a special CowClusterOp, which points to the start of the next cluster. Each cluster is immediately followed by it's data, with the footer following at the end of the file. cluster_ops must not be 1, as we must include a CowClusterOp in each group. Change-Id: I2855288958d56569d4078f377ef0b8c01ca5c6e7 Bug: 172026020 Test: cow_api_test
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions