OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ExecutorResourcePool.h File Reference
#include <array>
#include <map>
#include <shared_mutex>
#include "ExecutorResourceMgrCommon.h"
#include "ResourceGrantPolicy.h"
#include "ResourceRequest.h"
+ Include dependency graph for ExecutorResourcePool.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ExecutorResourceMgr_Namespace::ResourcePoolInfo
 A container for various stats about the current state of the ExecutorResourcePool. Note that ExecutorResourcePool does not persist a struct of this type, but rather builds one on the fly when ExecutorResourcePool::get_resource_info() is called. More...
 
struct  ExecutorResourceMgr_Namespace::ResourceGrant
 Specifies the resources of each type for a given resource grant. More...
 
class  ExecutorResourceMgr_Namespace::ExecutorResourcePool
 ExecutorResourcePool keeps track of available compute and memory resources and can be queried to get the min and max resources grantable (embodied in a ResourceGrant) for a request, given a ResourceRequest. More...
 

Namespaces

 ExecutorResourceMgr_Namespace
 

Typedefs

using ExecutorResourceMgr_Namespace::BufferPoolChunkMap = std::map< ChunkKey, std::pair< size_t, size_t >>
 

Functions

ResourceType ExecutorResourceMgr_Namespace::map_resource_subtype_to_resource_type (const ResourceSubtype resource_subtype)
 Returns the ResourceType associated with a given ResourceSubtype More...
 
std::vector< ResourceSubtype > ExecutorResourceMgr_Namespace::map_resource_type_to_resource_subtypes (const ResourceType resource_type)
 Returns the 1-or-more ResourceSubtypes associated with a given ResourceType. More...