OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
anonymous_namespace{TieredCpuBufferMgr.cpp} Namespace Reference

Functions

std::string tier_to_string (CpuTier tier)
 

Function Documentation

std::string anonymous_namespace{TieredCpuBufferMgr.cpp}::tier_to_string ( CpuTier  tier)

Definition at line 27 of file TieredCpuBufferMgr.cpp.

References Data_Namespace::DRAM, and Data_Namespace::PMEM.

Referenced by Buffer_Namespace::TieredCpuBufferMgr::addSlab().

27  {
28  switch (tier) {
29  case DRAM:
30  return "DRAM";
31  case PMEM:
32  return "PMEM";
33  default:
34  return "<UNKNOWN>";
35  }
36 }

+ Here is the caller graph for this function: