Itoyori  v0.0.1
ityr::ori::core::core_nocache< BlockSize > Class Template Reference

#include <core.hpp>

Public Types

using release_handler = void *
 

Public Member Functions

 core_nocache (std::size_t, std::size_t)
 
void * malloc_coll (std::size_t size)
 
template<template< block_size_t > typename MemMapper, typename... MemMapperArgs>
void * malloc_coll (std::size_t size, MemMapperArgs &&... mmargs)
 
void * malloc (std::size_t size)
 
void free_coll (void *addr)
 
void free (void *addr, std::size_t size)
 
void get (const void *from_addr, void *to_addr, std::size_t size)
 
void put (const void *from_addr, void *to_addr, std::size_t size)
 
template<typename Mode >
bool checkout_nb (void *, std::size_t, Mode)
 
template<typename Mode >
void checkout (void *, std::size_t, Mode)
 
void checkout_complete ()
 
template<typename Mode >
void checkin (void *, std::size_t, Mode)
 
void release ()
 
release_handler release_lazy ()
 
void acquire ()
 
void acquire (release_handler)
 
void set_readonly_coll (void *, std::size_t)
 
void unset_readonly_coll (void *, std::size_t)
 
void poll ()
 
void collect_deallocated ()
 
void cache_prof_begin ()
 
void cache_prof_end ()
 
void cache_prof_print () const
 
void * get_local_mem (void *addr)
 

Static Public Attributes

static constexpr block_size_t block_size = BlockSize
 

Member Typedef Documentation

◆ release_handler

template<block_size_t BlockSize>
using ityr::ori::core::core_nocache< BlockSize >::release_handler = void*

Constructor & Destructor Documentation

◆ core_nocache()

template<block_size_t BlockSize>
ityr::ori::core::core_nocache< BlockSize >::core_nocache ( std::size_t  ,
std::size_t   
)
inline

Member Function Documentation

◆ acquire() [1/2]

template<block_size_t BlockSize>
void ityr::ori::core::core_nocache< BlockSize >::acquire ( )
inline

◆ acquire() [2/2]

template<block_size_t BlockSize>
void ityr::ori::core::core_nocache< BlockSize >::acquire ( release_handler  )
inline

◆ cache_prof_begin()

template<block_size_t BlockSize>
void ityr::ori::core::core_nocache< BlockSize >::cache_prof_begin ( )
inline

◆ cache_prof_end()

template<block_size_t BlockSize>
void ityr::ori::core::core_nocache< BlockSize >::cache_prof_end ( )
inline

◆ cache_prof_print()

template<block_size_t BlockSize>
void ityr::ori::core::core_nocache< BlockSize >::cache_prof_print ( ) const
inline

◆ checkin()

template<block_size_t BlockSize>
template<typename Mode >
void ityr::ori::core::core_nocache< BlockSize >::checkin ( void *  ,
std::size_t  ,
Mode   
)
inline

◆ checkout()

template<block_size_t BlockSize>
template<typename Mode >
void ityr::ori::core::core_nocache< BlockSize >::checkout ( void *  ,
std::size_t  ,
Mode   
)
inline

◆ checkout_complete()

template<block_size_t BlockSize>
void ityr::ori::core::core_nocache< BlockSize >::checkout_complete ( )
inline

◆ checkout_nb()

template<block_size_t BlockSize>
template<typename Mode >
bool ityr::ori::core::core_nocache< BlockSize >::checkout_nb ( void *  ,
std::size_t  ,
Mode   
)
inline

◆ collect_deallocated()

template<block_size_t BlockSize>
void ityr::ori::core::core_nocache< BlockSize >::collect_deallocated ( )
inline

◆ free()

template<block_size_t BlockSize>
void ityr::ori::core::core_nocache< BlockSize >::free ( void *  addr,
std::size_t  size 
)
inline

◆ free_coll()

template<block_size_t BlockSize>
void ityr::ori::core::core_nocache< BlockSize >::free_coll ( void *  addr)
inline

◆ get()

template<block_size_t BlockSize>
void ityr::ori::core::core_nocache< BlockSize >::get ( const void *  from_addr,
void *  to_addr,
std::size_t  size 
)
inline

◆ get_local_mem()

template<block_size_t BlockSize>
void* ityr::ori::core::core_nocache< BlockSize >::get_local_mem ( void *  addr)
inline

◆ malloc()

template<block_size_t BlockSize>
void* ityr::ori::core::core_nocache< BlockSize >::malloc ( std::size_t  size)
inline

◆ malloc_coll() [1/2]

template<block_size_t BlockSize>
void* ityr::ori::core::core_nocache< BlockSize >::malloc_coll ( std::size_t  size)
inline

◆ malloc_coll() [2/2]

template<block_size_t BlockSize>
template<template< block_size_t > typename MemMapper, typename... MemMapperArgs>
void* ityr::ori::core::core_nocache< BlockSize >::malloc_coll ( std::size_t  size,
MemMapperArgs &&...  mmargs 
)
inline

◆ poll()

template<block_size_t BlockSize>
void ityr::ori::core::core_nocache< BlockSize >::poll ( )
inline

◆ put()

template<block_size_t BlockSize>
void ityr::ori::core::core_nocache< BlockSize >::put ( const void *  from_addr,
void *  to_addr,
std::size_t  size 
)
inline

◆ release()

template<block_size_t BlockSize>
void ityr::ori::core::core_nocache< BlockSize >::release ( )
inline

◆ release_lazy()

template<block_size_t BlockSize>
release_handler ityr::ori::core::core_nocache< BlockSize >::release_lazy ( )
inline

◆ set_readonly_coll()

template<block_size_t BlockSize>
void ityr::ori::core::core_nocache< BlockSize >::set_readonly_coll ( void *  ,
std::size_t   
)
inline

◆ unset_readonly_coll()

template<block_size_t BlockSize>
void ityr::ori::core::core_nocache< BlockSize >::unset_readonly_coll ( void *  ,
std::size_t   
)
inline

Member Data Documentation

◆ block_size

template<block_size_t BlockSize>
constexpr block_size_t ityr::ori::core::core_nocache< BlockSize >::block_size = BlockSize
staticconstexpr

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