Lines Matching refs:storage

492  * Templatized storage and interface for a simple scalar stat.
505 * Builds this storage element and calls the base constructor of the
553 * Templatized storage and interface to a per-tick average stat. This keeps
576 * Build and initializes this stat storage.
664 /** The storage of this stat. */
665 char storage[sizeof(Storage)] __attribute__ ((aligned (8)));
669 * Retrieve the storage.
671 * @return The storage object at the given index.
676 return reinterpret_cast<Storage *>(storage);
680 * Retrieve a const pointer to the storage.
683 * @return A const pointer to the storage object at the given index.
688 return reinterpret_cast<const Storage *>(storage);
694 new (storage) Storage(this->info());
716 * Increment the stat by 1. This calls the associated storage object inc
721 * Decrement the stat by 1. This calls the associated storage object dec
732 * Set the data value to the given value. This calls the associated storage
741 * storage object inc function.
749 * storage object dec function.
959 * Increment the stat by 1. This calls the associated storage object inc
964 * Decrement the stat by 1. This calls the associated storage object dec
975 * Set the data value to the given value. This calls the associated storage
988 * storage object inc function.
1000 * storage object dec function.
1041 /** The storage of this stat. */
1042 Storage *storage;
1047 * Retrieve the storage.
1049 * @return The storage object at the given index.
1051 Storage *data(off_type index) { return &storage[index]; }
1054 * Retrieve a const pointer to the storage.
1056 * @return A const pointer to the storage object at the given index.
1058 const Storage *data(off_type index) const { return &storage[index]; }
1064 assert(!storage && "already initialized");
1068 storage = reinterpret_cast<Storage *>(ptr);
1071 new (&storage[i]) Storage(this->info());
1127 return storage != NULL;
1133 storage(nullptr), _size(0)
1138 if (!storage)
1143 delete [] reinterpret_cast<char *>(storage);
1265 Storage *storage;
1268 Storage *data(off_type index) { return &storage[index]; }
1269 const Storage *data(off_type index) const { return &storage[index]; }
1274 x(0), y(0), _size(0), storage(nullptr)
1279 if (!storage)
1284 delete [] reinterpret_cast<char *>(storage);
1291 assert(!storage && "already initialized");
1303 storage = reinterpret_cast<Storage *>(ptr);
1306 new (&storage[i]) Storage(info);
1376 return storage != NULL;
1393 * Templatized storage and interface for a distribution stat.
1544 * Templatized storage and interface for a histogram stat.
1690 * Templatized storage and interface for a distribution that calculates mean
1711 * Create and initialize this storage.
1770 * Templatized storage for distribution that calculates per tick mean and
1789 * Create and initialize this storage.
1857 /** The storage for this stat. */
1858 char storage[sizeof(Storage)] __attribute__ ((aligned (8)));
1862 * Retrieve the storage.
1863 * @return The storage object for this stat.
1868 return reinterpret_cast<Storage *>(storage);
1872 * Retrieve a const pointer to the storage.
1873 * @return A const pointer to the storage object for this stat.
1878 return reinterpret_cast<const Storage *>(storage);
1884 new (storage) Storage(this->info());
1895 * Add a value to the distribtion n times. Calls sample on the storage
1952 Storage *storage;
1959 return &storage[index];
1965 return &storage[index];
1972 assert(!storage && "already initialized");
1976 storage = reinterpret_cast<Storage *>(ptr);
1980 new (&storage[i]) Storage(info);
1988 storage(NULL)
1993 if (!storage)
1998 delete [] reinterpret_cast<char *>(storage);
2035 return storage != NULL;
2710 * Initialize storage and parameters for this distribution.
2747 * Initialize storage for this distribution.
2777 * Initialize storage for this distribution.
2823 * Implementation of a sparse histogram stat. The storage class is
2835 /** The storage for this stat. */
2836 char storage[sizeof(Storage)];
2840 * Retrieve the storage.
2841 * @return The storage object for this stat.
2846 return reinterpret_cast<Storage *>(storage);
2850 * Retrieve a const pointer to the storage.
2851 * @return A const pointer to the storage object for this stat.
2856 return reinterpret_cast<const Storage *>(storage);
2862 new (storage) Storage(this->info());
2873 * Add a value to the distribtion n times. Calls sample on the storage
2910 * Templatized storage and interface for a sparse histogram stat.