carl  24.04
Computer ARithmetic Library
carl::Cache< T >::Info Struct Reference

#include <Cache.h>

Collaboration diagram for carl::Cache< T >::Info:

Public Member Functions

 Info (double _activity)
 

Data Fields

std::size_t usageCount
 Store the number of usages of the entry in the cache for which this information hold by external objects. More...
 
std::vector< RefrefStoragePositions
 Stores the reference of the entry in the cache for which this information hold. More...
 
double activity
 Stores the activity of the entry in the cache for which this information hold. More...
 

Detailed Description

template<typename T>
struct carl::Cache< T >::Info

Definition at line 53 of file Cache.h.

Constructor & Destructor Documentation

◆ Info()

template<typename T >
carl::Cache< T >::Info::Info ( double  _activity)
inlineexplicit

Definition at line 70 of file Cache.h.

Field Documentation

◆ activity

template<typename T >
double carl::Cache< T >::Info::activity

Stores the activity of the entry in the cache for which this information hold.

The activity states how often the entry is involved in computations in the recent past.

Definition at line 68 of file Cache.h.

◆ refStoragePositions

template<typename T >
std::vector<Ref> carl::Cache< T >::Info::refStoragePositions

Stores the reference of the entry in the cache for which this information hold.

Definition at line 62 of file Cache.h.

◆ usageCount

template<typename T >
std::size_t carl::Cache< T >::Info::usageCount

Store the number of usages of the entry in the cache for which this information hold by external objects.

Definition at line 57 of file Cache.h.


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