models/cache/mcp-cache/hash_table.cpp
hash_entry::hash_entry (hash_set * const hset, unsigned indx) :
    my_set(hset),
    idx(indx)
{
    this->tag = 0x0;
    this->free = true;
    this->have_data = false;
    this->dirty = false;
}
//! hash_entry: Constructor
//!
//! This is a single cache line
//! associated with one set within the cache. Contains pointers back
//! to the parent table and parent set, the address tag associated with
//! this line, and valid/dirty bits to indicate status.
//!
//! @param \c hset  The hash set that holds this entry.
//! @param \c idx  The hash entry's index within the whole table; 0-based.
Constructor
This is a single cache line
associated with one set within the cache. Contains pointers back
to the parent table and parent set, the address tag associated with
this line, and valid/dirty bits to indicate status.
Constructor This is a single cache line associated with one set within the cache . Contains pointers back to the parent table and parent set the address tag associated with this line and valid / dirty bits to indicate status .
hash_entry::hash_entry (hash_set * const hset, unsigned indx) :
    my_set(hset),
    idx(indx)
{
    this->tag = 0x0;
    this->free = true;
    this->have_data = false;
    this->dirty = false;
}
hash_entry :: hash_entry ( hash_set * const hset , unsigned indx ) : my_set ( hset ) , idx ( indx ) { this -> tag = 0x0 ; this -> free = true ; this -> have_data = false ; this -> dirty = false ; }
hash_entry: Constructor
This is a single cache line
associated with one set within the cache.
hash_entry : Constructor This is a single cache line associated with one set within the cache .