150 r_Area border_threshold = DEF_BORDER_THR,
unsigned int r_ULong
Definition: odmgtypes.hh:114
virtual void print_status(std::ostream &os) const
virtual r_Tiling_Scheme get_tiling_scheme() const
bool operator==(const r_Access &other) const
Operator equal.
Definition: stattiling.hh:130
virtual const std::vector< r_Minterval > & get_interesting_areas() const
Gets the statistical information.
static const char * description
Definition: stattiling.hh:192
std::vector< r_Access > stat_info
Statistical data.
Definition: stattiling.hh:213
Definition: stattiling.hh:53
r_Area get_border_threshold() const
Gets the threshold at which to intervals are considered the same.
void filter(std::vector< r_Access > &patterns) const
Filters and access pattern table (list) throws exception if dimensions of access patterns are not the...
unsigned int r_Dimension
Definition: mddtypes.hh:118
r_ULong get_times() const
Gets the number of times the pattern was accessed.
std::ostream & operator<<(std::ostream &os, const r_Access &access)
double r_Double
Definition: odmgtypes.hh:138
r_Stat_Tiling(const char *encoded)
read everything from an encoded string e.g. "2;[0:9,0:9],3;[100:109,0:9],2;2;0.3;100" ...
const r_Minterval & get_pattern() const
Gets the current interval (access pattern)
r_Access merge(const std::vector< r_Access > &patterns) const
Merges a list of access patterns.
std::vector< r_Minterval > iareas
Current interest areas.
Definition: stattiling.hh:210
void set_times(r_ULong accesses)
Sets the number of times the pattern was accessed.
r_Double interesting_thr
The "interesting area" threshold.
Definition: stattiling.hh:204
static r_Bytes clientTileSize
Definition: rminit.hh:132
uint64_t r_Area
Definition: mddtypes.hh:85
static const r_Area DEF_BORDER_THR
Default threshold for two borders being considered the same.
Definition: stattiling.hh:137
bool is_near(const r_Access &other, r_ULong border_threshold) const
Checks if a certain access pattern is "close enough" of other throws exception if the domains do not ...
static const r_Double DEF_INTERESTING_THR
Default threshold for considering an area interesting when tiling.
Definition: stattiling.hh:140
r_Tiling_Scheme
Definition: mddtypes.hh:393
void print_status(std::ostream &os) const
Print object status.
unsigned int r_Bytes
Definition: mddtypes.hh:56
r_Double get_interesting_threshold() const
Gets the threshold at which an area is considered to be interesting.
virtual std::vector< r_Minterval > * compute_tiles(const r_Minterval &obj_domain, r_Bytes cell_size) const
returns true if the cellTypeSize is smaller or equal to the tile size and the dimension fits the obj_...
void merge_with(const r_Access &other)
Merge this access pattern with another.
void set_pattern(const r_Minterval &pattern)
Sets the current interval (access pattern)
Definition: tiling.hh:153
r_Area border_thr
The "same border" threshold.
Definition: stattiling.hh:207
bool operator!=(const r_Access &other) const
Operator different.
Definition: minterval.hh:249
virtual r_Tiling * clone() const
Clones this object.