OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ExecutorResourceMgr_Namespace::ResourcePoolInfo Struct Reference

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...

#include <ExecutorResourcePool.h>

Public Member Functions

 ResourcePoolInfo ()
 
 ResourcePoolInfo (const size_t total_cpu_slots, const size_t total_gpu_slots, const size_t total_cpu_result_mem, const size_t total_cpu_buffer_pool_mem, const size_t total_gpu_buffer_pool_mem, const size_t allocated_cpu_slots, const size_t allocated_gpu_slots, const size_t allocated_cpu_result_mem, const size_t allocated_cpu_buffer_pool_mem, const size_t allocated_gpu_buffer_pool_mem, const size_t allocated_cpu_buffers, const size_t allocated_gpu_buffers, const size_t allocated_temp_cpu_buffer_pool_mem, const size_t allocated_temp_gpu_buffer_pool_mem, const size_t total_requests, const size_t outstanding_requests, const size_t outstanding_cpu_slots_requests, const size_t outstanding_gpu_slots_requests, const size_t outstanding_cpu_result_mem_requests, const size_t outstanding_cpu_buffer_pool_mem_requests, const size_t outstanding_gpu_buffer_pool_mem_requests)
 

Public Attributes

size_t total_cpu_slots {0}
 
size_t total_gpu_slots {0}
 
size_t total_cpu_result_mem {0}
 
size_t total_cpu_buffer_pool_mem {0}
 
size_t total_gpu_buffer_pool_mem {0}
 
size_t allocated_cpu_slots {0}
 
size_t allocated_gpu_slots {0}
 
size_t allocated_cpu_result_mem {0}
 
size_t allocated_cpu_buffer_pool_mem {0}
 
size_t allocated_gpu_buffer_pool_mem {0}
 
size_t allocated_cpu_buffers {0}
 
size_t allocated_gpu_buffers {0}
 
size_t allocated_temp_cpu_buffer_pool_mem {0}
 
size_t allocated_temp_gpu_buffer_pool_mem {0}
 
size_t total_requests {0}
 
size_t outstanding_requests {0}
 
size_t outstanding_cpu_slots_requests {0}
 
size_t outstanding_gpu_slots_requests {0}
 
size_t outstanding_cpu_result_mem_requests {0}
 
size_t outstanding_cpu_buffer_pool_mem_requests {0}
 
size_t outstanding_gpu_buffer_pool_mem_requests {0}
 

Detailed Description

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.

Definition at line 98 of file ExecutorResourcePool.h.

Constructor & Destructor Documentation

ExecutorResourceMgr_Namespace::ResourcePoolInfo::ResourcePoolInfo ( )
inline

Definition at line 125 of file ExecutorResourcePool.h.

125 {}
ExecutorResourceMgr_Namespace::ResourcePoolInfo::ResourcePoolInfo ( const size_t  total_cpu_slots,
const size_t  total_gpu_slots,
const size_t  total_cpu_result_mem,
const size_t  total_cpu_buffer_pool_mem,
const size_t  total_gpu_buffer_pool_mem,
const size_t  allocated_cpu_slots,
const size_t  allocated_gpu_slots,
const size_t  allocated_cpu_result_mem,
const size_t  allocated_cpu_buffer_pool_mem,
const size_t  allocated_gpu_buffer_pool_mem,
const size_t  allocated_cpu_buffers,
const size_t  allocated_gpu_buffers,
const size_t  allocated_temp_cpu_buffer_pool_mem,
const size_t  allocated_temp_gpu_buffer_pool_mem,
const size_t  total_requests,
const size_t  outstanding_requests,
const size_t  outstanding_cpu_slots_requests,
const size_t  outstanding_gpu_slots_requests,
const size_t  outstanding_cpu_result_mem_requests,
const size_t  outstanding_cpu_buffer_pool_mem_requests,
const size_t  outstanding_gpu_buffer_pool_mem_requests 
)
inline

Definition at line 127 of file ExecutorResourcePool.h.

Member Data Documentation

size_t ExecutorResourceMgr_Namespace::ResourcePoolInfo::allocated_cpu_buffer_pool_mem {0}
size_t ExecutorResourceMgr_Namespace::ResourcePoolInfo::allocated_cpu_buffers {0}
size_t ExecutorResourceMgr_Namespace::ResourcePoolInfo::allocated_cpu_result_mem {0}
size_t ExecutorResourceMgr_Namespace::ResourcePoolInfo::allocated_cpu_slots {0}
size_t ExecutorResourceMgr_Namespace::ResourcePoolInfo::allocated_gpu_buffer_pool_mem {0}
size_t ExecutorResourceMgr_Namespace::ResourcePoolInfo::allocated_gpu_buffers {0}
size_t ExecutorResourceMgr_Namespace::ResourcePoolInfo::allocated_gpu_slots {0}

Definition at line 106 of file ExecutorResourcePool.h.

size_t ExecutorResourceMgr_Namespace::ResourcePoolInfo::allocated_temp_cpu_buffer_pool_mem {0}
size_t ExecutorResourceMgr_Namespace::ResourcePoolInfo::allocated_temp_gpu_buffer_pool_mem {0}
size_t ExecutorResourceMgr_Namespace::ResourcePoolInfo::outstanding_cpu_buffer_pool_mem_requests {0}
size_t ExecutorResourceMgr_Namespace::ResourcePoolInfo::outstanding_cpu_result_mem_requests {0}
size_t ExecutorResourceMgr_Namespace::ResourcePoolInfo::outstanding_cpu_slots_requests {0}
size_t ExecutorResourceMgr_Namespace::ResourcePoolInfo::outstanding_gpu_buffer_pool_mem_requests {0}
size_t ExecutorResourceMgr_Namespace::ResourcePoolInfo::outstanding_gpu_slots_requests {0}
size_t ExecutorResourceMgr_Namespace::ResourcePoolInfo::outstanding_requests {0}
size_t ExecutorResourceMgr_Namespace::ResourcePoolInfo::total_cpu_buffer_pool_mem {0}
size_t ExecutorResourceMgr_Namespace::ResourcePoolInfo::total_cpu_result_mem {0}
size_t ExecutorResourceMgr_Namespace::ResourcePoolInfo::total_cpu_slots {0}
size_t ExecutorResourceMgr_Namespace::ResourcePoolInfo::total_gpu_buffer_pool_mem {0}
size_t ExecutorResourceMgr_Namespace::ResourcePoolInfo::total_gpu_slots {0}
size_t ExecutorResourceMgr_Namespace::ResourcePoolInfo::total_requests {0}

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