src/mem/cache/replacement_policies/tree_plru_rp.cc
/**
 * Get the index of the parent of the given indexed subtree.
 *
 * @param Index of the queried tree.
 * @return The index of the parent tree.
 */
Get the index of the parent of the given indexed subtree.
@param Index of the queried tree.
@return The index of the parent tree.
Get the index of the parent of the given indexed subtree . @param Index of the queried tree . @return The index of the parent tree .
static uint64_t
parentIndex(const uint64_t index)
{
    return std::floor((index-1)/2);
}
static uint64_t parentIndex ( const uint64_t index ) { return std :: floor ( ( index - 1 ) / 2 ) ; }
Get the index of the parent of the given indexed subtree.
Get the index of the parent of the given indexed subtree .