Lines Matching refs:allocator
41 // Constructs the data manager. The allocator must live longer than any
44 PersistentMemoryAllocator* allocator);
57 // don't have to also keep their own pointer to the appropriate allocator.
78 // Weak-pointer to the allocator used by the sparse histograms.
81 // Iterator within the allocator for finding sample records.
128 // don't have to also keep their own pointer to the appropriate allocator.
179 // Iterator used for fetching persistent histograms from an allocator.
184 // Constructs an iterator on a given |allocator|, starting at the beginning.
185 // The allocator must live beyond the lifetime of the iterator.
186 explicit Iterator(PersistentHistogramAllocator* allocator);
198 // Weak-pointer to histogram allocator being iterated over.
209 // Allocator object of which it takes ownership.
214 // Direct access to underlying memory allocator. If the segment is shared
233 // to where the top-level histogram data may be found in this allocator.
256 // allocator because histograms created there will already be in the SR.
270 // this allocator.
275 // for allocator of |name| (which can simply be the result of Name()). This
277 // histograms will be backed by memory provided by this very allocator.
339 // Instance has detected a corrupt allocator (recorded only once).
359 // The memory allocator that provides the actual histogram storage.
365 // A reference to the last-created histogram in the allocator, used to avoid
382 // Create a global allocator
390 // Create a global allocator using an internal block of memory of the
395 // Create a global allocator by memory-mapping a |file|. If the file does
397 // exist, the allocator will use and add to its contents, ignoring the passed
398 // size in favor of the existing size. Returns whether the global allocator
408 // Returns whether the global allocator was set.
417 // internal name for the allocator and also for the name of the file inside
434 // Create a global allocator using a block of shared memory accessed
435 // through the given |handle| and |size|. The allocator takes ownership
443 // ever one allocator for all such histograms created by a single process.
447 static void Set(std::unique_ptr<GlobalHistogramAllocator> allocator);
449 // Gets a pointer to the global histogram allocator. Returns null if none
453 // This access to the persistent allocator is only for testing; it extracts
454 // the current allocator completely. This allows easy creation of histograms
459 // Stores a pathname to which the contents of this allocator should be saved
463 // Retrieves a previously set pathname to which the contents of this allocator
480 // Creates a new global histogram allocator.
484 // Import new histograms from the global histogram allocator. It's possible