OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ExecutorResourceMgrCommon.h File Reference
#include <math.h>
#include <string>
#include "Logger/Logger.h"
#include "QueryEngine/ExecutorDeviceType.h"
#include "Shared/StringTransform.h"
+ Include dependency graph for ExecutorResourceMgrCommon.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ExecutorResourceMgr_Namespace::ExecutorResourceMgrError
 
class  ExecutorResourceMgr_Namespace::QueryTimedOutWaitingInQueue
 
class  ExecutorResourceMgr_Namespace::QueryNeedsTooMuchBufferPoolMem
 
class  ExecutorResourceMgr_Namespace::QueryNeedsTooManyCpuSlots
 
class  ExecutorResourceMgr_Namespace::QueryNeedsTooManyGpuSlots
 
class  ExecutorResourceMgr_Namespace::QueryNeedsTooMuchCpuResultMem
 

Namespaces

 ExecutorResourceMgr_Namespace
 

Typedefs

using ExecutorResourceMgr_Namespace::ChunkKey = std::vector< int >
 
using ExecutorResourceMgr_Namespace::RequestId = size_t
 

Enumerations

enum  ExecutorResourceMgr_Namespace::ResourceType {
  ExecutorResourceMgr_Namespace::ResourceType::CPU_SLOTS = 0, ExecutorResourceMgr_Namespace::ResourceType::GPU_SLOTS = 1, ExecutorResourceMgr_Namespace::ResourceType::CPU_RESULT_MEM = 2, ExecutorResourceMgr_Namespace::ResourceType::GPU_RESULT_MEM = 3,
  ExecutorResourceMgr_Namespace::ResourceType::CPU_BUFFER_POOL_MEM = 4, ExecutorResourceMgr_Namespace::ResourceType::GPU_BUFFER_POOL_MEM = 5, ExecutorResourceMgr_Namespace::ResourceType::INVALID_TYPE = 6, ExecutorResourceMgr_Namespace::ResourceType::NUM_RESOURCE_TYPES = 6
}
 Stores the resource type for a ExecutorResourcePool request. More...
 
enum  ExecutorResourceMgr_Namespace::ResourceSubtype {
  ExecutorResourceMgr_Namespace::ResourceSubtype::CPU_SLOTS = 0, ExecutorResourceMgr_Namespace::ResourceSubtype::GPU_SLOTS = 1, ExecutorResourceMgr_Namespace::ResourceSubtype::CPU_RESULT_MEM = 2, ExecutorResourceMgr_Namespace::ResourceSubtype::GPU_RESULT_MEM = 3,
  ExecutorResourceMgr_Namespace::ResourceSubtype::PINNED_CPU_BUFFER_POOL_MEM = 4, ExecutorResourceMgr_Namespace::ResourceSubtype::PAGEABLE_CPU_BUFFER_POOL_MEM = 5, ExecutorResourceMgr_Namespace::ResourceSubtype::PINNED_GPU_BUFFER_POOL_MEM = 6, ExecutorResourceMgr_Namespace::ResourceSubtype::PAGEABLE_GPU_BUFFER_POOL_MEM = 7,
  ExecutorResourceMgr_Namespace::ResourceSubtype::INVALID_SUBTYPE = 8, ExecutorResourceMgr_Namespace::ResourceSubtype::NUM_RESOURCE_SUBTYPES = 8
}
 Stores the resource sub-type for a ExecutorResourcePool request. More...
 

Functions

std::string ExecutorResourceMgr_Namespace::resource_type_to_string (const ResourceType resource_type)
 
std::string ExecutorResourceMgr_Namespace::resource_subtype_to_string (const ResourceSubtype resource_subtype)
 

Variables

static constexpr size_t ExecutorResourceMgr_Namespace::ResourceTypeSize
 
static const char * ExecutorResourceMgr_Namespace::ResourceTypeStrings []
 
static constexpr size_t ExecutorResourceMgr_Namespace::ResourceSubtypeSize
 
static const char * ExecutorResourceMgr_Namespace::ResourceSubtypeStrings []