Lines Matching defs:Snapshot
122 // purposes, we need to construct Snapshot instances for each combination of
124 // lifetimes. We gather such data into a Snapshot instances, so that such
126 // processing). Snapshot instances use pointers to constant portions of the
132 // contributes to it by adding or updating Snapshot instances. DataCollector
134 // accumulate all Snapshot instances.
252 class BASE_API Snapshot {
255 Snapshot(const BirthOnThread& birth_on_thread, const ThreadData& death_thread,
259 Snapshot(const BirthOnThread& birth_on_thread, int count);
276 void Add(const Snapshot& other);
284 // DataCollector is a container class for Snapshot and BirthOnThread count
290 typedef std::vector<Snapshot> Collection;
332 // Aggregation contains summaries (totals and subtotals) of groups of Snapshot
340 void AddDeathSnapshot(const Snapshot& snapshot);
359 // Comparator is a class that supports the comparison of Snapshot instances.
362 // into such a chain, which is then used to order Snapshot instances in a
399 bool operator()(const Snapshot& left, const Snapshot& right) const;
404 bool Equivalent(const Snapshot& left, const Snapshot& right) const;
407 bool Acceptable(const Snapshot& sample) const;
433 bool WriteSortGrouping(const Snapshot& sample, std::string* output) const;
436 void WriteSnapshot(const Snapshot& sample, std::string* output) const;