Low-Level Abstraction of Memory Access
llama::mapping::FieldAccessCount< Mapping, TCountType, MyCodeHandlesProxyReferences >::FieldHitsArray Struct Reference

#include <FieldAccessCount.hpp>

+ Inheritance diagram for llama::mapping::FieldAccessCount< Mapping, TCountType, MyCodeHandlesProxyReferences >::FieldHitsArray:
+ Collaboration diagram for llama::mapping::FieldAccessCount< Mapping, TCountType, MyCodeHandlesProxyReferences >::FieldHitsArray:

Classes

struct  TotalBytes
 

Public Member Functions

auto total () const -> AccessCounts< CountType >
 
auto totalBytes () const
 
- Public Member Functions inherited from llama::Array< AccessCounts< CountType >, flatFieldCount< RecordDim > >
constexpr auto size () const
 
constexpr auto empty () const -> bool
 
constexpr auto begin () -> AccessCounts< CountType > *
 
constexpr auto begin () const -> const AccessCounts< CountType > *
 
constexpr auto end () -> AccessCounts< CountType > *
 
constexpr auto end () const -> const AccessCounts< CountType > *
 
constexpr auto front () -> AccessCounts< CountType > &
 
constexpr auto front () const -> const AccessCounts< CountType > &
 
constexpr auto back () -> AccessCounts< CountType > &
 
constexpr auto back () const -> const AccessCounts< CountType > &
 
constexpr auto operator[] (IndexType &&idx) -> AccessCounts< CountType > &
 
constexpr auto operator[] (IndexType &&idx) const -> const AccessCounts< CountType > &
 
constexpr auto data () -> AccessCounts< CountType > *
 
constexpr auto data () const -> const AccessCounts< CountType > *
 
constexpr auto get () -> AccessCounts< CountType > &
 
constexpr auto get () const -> const AccessCounts< CountType > &
 

Additional Inherited Members

- Public Types inherited from llama::Array< AccessCounts< CountType >, flatFieldCount< RecordDim > >
using value_type = AccessCounts< CountType >
 
- Public Attributes inherited from llama::Array< AccessCounts< CountType >, flatFieldCount< RecordDim > >
AccessCounts< CountType > element [N]
 

Detailed Description

template<typename Mapping, typename TCountType = std::size_t, bool MyCodeHandlesProxyReferences = true>
struct llama::mapping::FieldAccessCount< Mapping, TCountType, MyCodeHandlesProxyReferences >::FieldHitsArray

Definition at line 95 of file FieldAccessCount.hpp.

Member Function Documentation

◆ total()

template<typename Mapping , typename TCountType = std::size_t, bool MyCodeHandlesProxyReferences = true>
auto llama::mapping::FieldAccessCount< Mapping, TCountType, MyCodeHandlesProxyReferences >::FieldHitsArray::total ( ) const -> AccessCounts<CountType>
inline

Definition at line 97 of file FieldAccessCount.hpp.

◆ totalBytes()

template<typename Mapping , typename TCountType = std::size_t, bool MyCodeHandlesProxyReferences = true>
auto llama::mapping::FieldAccessCount< Mapping, TCountType, MyCodeHandlesProxyReferences >::FieldHitsArray::totalBytes ( ) const
inline

When MyCodeHandlesProxyReferences is true, return a pair of the total read and written bytes. If false, returns the total bytes of accessed data as a single value.

Definition at line 121 of file FieldAccessCount.hpp.


The documentation for this struct was generated from the following file: