OmniSciDB  ca0c39ec8f
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CacheItemMetric Class Reference

#include <DataRecycler.h>

Public Member Functions

 CacheItemMetric (QueryPlanHash query_plan_hash, size_t compute_time, size_t mem_size)
 

Public Attributes

std::array< size_t,
CacheMetricType::NUM_METRIC_TYPE
metrics_
 

Detailed Description

Definition at line 87 of file DataRecycler.h.

Constructor & Destructor Documentation

CacheItemMetric::CacheItemMetric ( QueryPlanHash  query_plan_hash,
size_t  compute_time,
size_t  mem_size 
)
inline

Definition at line 89 of file DataRecycler.h.

90  : query_plan_hash_(query_plan_hash), metrics_({0, mem_size, compute_time}) {}
std::array< size_t, CacheMetricType::NUM_METRIC_TYPE > metrics_
Definition: DataRecycler.h:90

Member Data Documentation

std::array<size_t, CacheMetricType::NUM_METRIC_TYPE> CacheItemMetric::metrics_

Definition at line 90 of file DataRecycler.h.


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