OmniSciDB  72c90bc290
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
foreign_storage::anonymous_namespace{ForeignTableRefresh.cpp} Namespace Reference

Functions

void clear_cpu_and_gpu_cache (Data_Namespace::DataMgr &data_mgr, const ChunkKey &key_prefix)
 

Function Documentation

void foreign_storage::anonymous_namespace{ForeignTableRefresh.cpp}::clear_cpu_and_gpu_cache ( Data_Namespace::DataMgr data_mgr,
const ChunkKey key_prefix 
)

Definition at line 28 of file ForeignTableRefresh.cpp.

References Data_Namespace::CPU_LEVEL, Data_Namespace::DataMgr::deleteChunksWithPrefix(), and Data_Namespace::GPU_LEVEL.

Referenced by foreign_storage::refresh_foreign_table_unlocked().

29  {
30  data_mgr.deleteChunksWithPrefix(key_prefix, MemoryLevel::CPU_LEVEL);
31  data_mgr.deleteChunksWithPrefix(key_prefix, MemoryLevel::GPU_LEVEL);
32 }
void deleteChunksWithPrefix(const ChunkKey &keyPrefix)
Definition: DataMgr.cpp:522

+ Here is the call graph for this function:

+ Here is the caller graph for this function: