![]() |
Low-Level Abstraction of Memory Access
|
#include <FieldAccessCount.hpp>
Inheritance diagram for llama::mapping::FieldAccessCount< Mapping, TCountType, MyCodeHandlesProxyReferences >:
Collaboration diagram for llama::mapping::FieldAccessCount< Mapping, TCountType, MyCodeHandlesProxyReferences >:Classes | |
| struct | FieldHitsArray |
Public Types | |
| using | RecordDim = typename Mapping::RecordDim |
| using | CountType = TCountType |
Public Member Functions | |
| constexpr | FieldAccessCount ()=default |
| FieldAccessCount (Mapping mapping) | |
| template<typename... Args> | |
| FieldAccessCount (Args &&... innerArgs) | |
| constexpr auto | blobSize (size_type blobIndex) const -> size_type |
| template<std::size_t... RecordCoords, typename Blobs > | |
| auto | compute (typename Mapping::ArrayExtents::Index ai, RecordCoord< RecordCoords... > rc, Blobs &blobs) const -> decltype(auto) |
| template<typename Blobs > | |
| auto | fieldHits (const Blobs &blobs) const -> const FieldHitsArray & |
| template<typename Blobs > | |
| auto | fieldHits (Blobs &blobs) const -> FieldHitsArray & |
| template<typename Blobs > | |
| void | printFieldHits (const Blobs &blobs) const |
| void | printFieldHits (const FieldHitsArray &hits) const |
Static Public Member Functions | |
| template<std::size_t... RecordCoords> | |
| static constexpr auto | isComputed (RecordCoord< RecordCoords... >) |
Static Public Attributes | |
| static constexpr bool | myCodeHandlesProxyReferences = MyCodeHandlesProxyReferences |
| static constexpr auto | blobCount = Mapping::blobCount + 1 |
Forwards all calls to the inner mapping. Counts all accesses made through this mapping and allows printing a summary.
| Mapping | The type of the inner mapping. |
| TCountType | The type used for counting the number of accesses. |
| MyCodeHandlesProxyReferences | If false, FieldAccessCount will avoid proxy references but can then only count the number of address computations |
Definition at line 85 of file FieldAccessCount.hpp.
| using llama::mapping::FieldAccessCount< Mapping, TCountType, MyCodeHandlesProxyReferences >::CountType = TCountType |
Definition at line 92 of file FieldAccessCount.hpp.
| using llama::mapping::FieldAccessCount< Mapping, TCountType, MyCodeHandlesProxyReferences >::RecordDim = typename Mapping::RecordDim |
Definition at line 91 of file FieldAccessCount.hpp.
|
constexprdefault |
|
inlineexplicit |
Definition at line 150 of file FieldAccessCount.hpp.
|
inlineexplicit |
Definition at line 155 of file FieldAccessCount.hpp.
|
inlineconstexpr |
Definition at line 161 of file FieldAccessCount.hpp.
|
inline |
Definition at line 175 of file FieldAccessCount.hpp.
|
inline |
Definition at line 210 of file FieldAccessCount.hpp.
|
inline |
Definition at line 203 of file FieldAccessCount.hpp.
|
inlinestaticconstexpr |
Definition at line 169 of file FieldAccessCount.hpp.
|
inline |
Definition at line 216 of file FieldAccessCount.hpp.
|
inline |
Definition at line 221 of file FieldAccessCount.hpp.
|
inlinestaticconstexpr |
Definition at line 145 of file FieldAccessCount.hpp.
|
inlinestaticconstexpr |
Definition at line 93 of file FieldAccessCount.hpp.