|
NebulaStream
0.6.213
NebulaStream is a data and application management framework for the internet of things
|
#include <QueryStatistics.hpp>
Public Member Functions | |
| QueryStatistics (SharedQueryId sharedQueryId, DecomposedQueryId subQueryId) | |
| QueryStatistics (const QueryStatistics &other) | |
| uint64_t | getProcessedTasks () const |
| getter for processedTasks More... | |
| uint64_t | getProcessedTuple () const |
| getter for processedTuple More... | |
| uint64_t | getProcessedBuffers () const |
| getter for processedBuffers More... | |
| uint64_t | getTimestampQueryStart () const |
| getter for timestampQueryStart More... | |
| uint64_t | getTimestampFirstProcessedTask () const |
| getter for timestampFirstProcessedTask More... | |
| uint64_t | getTimestampLastProcessedTask () const |
| getter for timestampLastProcessedTask More... | |
| uint64_t | getProcessedWatermarks () const |
| getter for processedWatermarks More... | |
| void | setProcessedTasks (uint64_t processedTasks) |
| setter for processedTasks More... | |
| void | setProcessedTuple (uint64_t processedTuple) |
| setter for processedTuple More... | |
| void | setTimestampQueryStart (uint64_t timestampQueryStart, bool noOverwrite) |
| setter for timestampQueryStart More... | |
| void | setTimestampFirstProcessedTask (uint64_t timestampFirstProcessedTask, bool noOverwrite) |
| setter for timestampFirstProcessedTask More... | |
| void | setTimestampLastProcessedTask (uint64_t timestampLastProcessedTask) |
| setter for timestampLastProcessedTask More... | |
| void | incProcessedBuffers () |
| increment processedBuffers More... | |
| void | incProcessedTasks () |
| increment processedTasks More... | |
| void | incProcessedTuple (uint64_t tupleCnt) |
| increment processedTuple More... | |
| void | incLatencySum (uint64_t latency) |
| increment latency sum More... | |
| void | incTasksPerPipelineId (PipelineId pipelineId, WorkerThreadId workerId) |
| increment latency sum More... | |
| folly::Synchronized< std::map< PipelineId, std::map< WorkerThreadId, std::atomic< uint64_t > > > > & | getPipelineIdToTaskMap () |
| get pipeline id task map More... | |
| uint64_t | getLatencySum () const |
| get sum of all latencies More... | |
| void | incQueueSizeSum (uint64_t size) |
| increment queue size sum More... | |
| uint64_t | getAvailableGlobalBufferSum () const |
| get sum of all available buffers More... | |
| void | incAvailableGlobalBufferSum (uint64_t size) |
| increment available buffer sum More... | |
| uint64_t | getAvailableFixedBufferSum () const |
| get sum of all fixed buffer buffers More... | |
| void | incAvailableFixedBufferSum (uint64_t size) |
| increment available fixed buffer sum More... | |
| uint64_t | getQueueSizeSum () const |
| get sum of all queue sizes More... | |
| void | incProcessedWatermarks () |
| increment processedWatermarks More... | |
| void | setProcessedBuffers (uint64_t processedBuffers) |
| setter for processedBuffers More... | |
| std::string | getQueryStatisticsAsString () |
| return the current statistics as a string More... | |
| SharedQueryId | getQueryId () const |
| get the query id of this queriy More... | |
| DecomposedQueryId | getSubQueryId () const |
| get the sub id of this qep (the pipeline stage) More... | |
| void | addTimestampToLatencyValue (uint64_t now, uint64_t latency) |
| folly::Synchronized< std::map< uint64_t, std::vector< uint64_t > > > & | getTsToLatencyMap () |
| void | clear () |
|
inline |
| NES::Runtime::QueryStatistics::QueryStatistics | ( | const QueryStatistics & | other | ) |
| void NES::Runtime::QueryStatistics::addTimestampToLatencyValue | ( | uint64_t | now, |
| uint64_t | latency | ||
| ) |
Add for the current time stamp (now) a new latency value
| now | |
| latency |
| void NES::Runtime::QueryStatistics::clear | ( | ) |
clear the content of the statistics
| uint64_t NES::Runtime::QueryStatistics::getAvailableFixedBufferSum | ( | ) | const |
get sum of all fixed buffer buffers
| uint64_t NES::Runtime::QueryStatistics::getAvailableGlobalBufferSum | ( | ) | const |
get sum of all available buffers
| uint64_t NES::Runtime::QueryStatistics::getLatencySum | ( | ) | const |
get sum of all latencies
| folly::Synchronized< std::map< PipelineId, std::map< WorkerThreadId, std::atomic< uint64_t > > > > & NES::Runtime::QueryStatistics::getPipelineIdToTaskMap | ( | ) |
get pipeline id task map
| uint64_t NES::Runtime::QueryStatistics::getProcessedBuffers | ( | ) | const |
getter for processedBuffers
| uint64_t NES::Runtime::QueryStatistics::getProcessedTasks | ( | ) | const |
getter for processedTasks
| uint64_t NES::Runtime::QueryStatistics::getProcessedTuple | ( | ) | const |
getter for processedTuple
| uint64_t NES::Runtime::QueryStatistics::getProcessedWatermarks | ( | ) | const |
getter for processedWatermarks
| SharedQueryId NES::Runtime::QueryStatistics::getQueryId | ( | ) | const |
get the query id of this queriy
| std::string NES::Runtime::QueryStatistics::getQueryStatisticsAsString | ( | ) |
return the current statistics as a string
| uint64_t NES::Runtime::QueryStatistics::getQueueSizeSum | ( | ) | const |
get sum of all queue sizes
| DecomposedQueryId NES::Runtime::QueryStatistics::getSubQueryId | ( | ) | const |
get the sub id of this qep (the pipeline stage)
| uint64_t NES::Runtime::QueryStatistics::getTimestampFirstProcessedTask | ( | ) | const |
getter for timestampFirstProcessedTask
| uint64_t NES::Runtime::QueryStatistics::getTimestampLastProcessedTask | ( | ) | const |
getter for timestampLastProcessedTask
| uint64_t NES::Runtime::QueryStatistics::getTimestampQueryStart | ( | ) | const |
getter for timestampQueryStart
| folly::Synchronized< std::map< uint64_t, std::vector< uint64_t > > > & NES::Runtime::QueryStatistics::getTsToLatencyMap | ( | ) |
get the ts to latency map which stores ts as key and latencies in vectors
| void NES::Runtime::QueryStatistics::incAvailableFixedBufferSum | ( | uint64_t | size | ) |
| void NES::Runtime::QueryStatistics::incAvailableGlobalBufferSum | ( | uint64_t | size | ) |
| void NES::Runtime::QueryStatistics::incLatencySum | ( | uint64_t | latency | ) |
increment latency sum
| void NES::Runtime::QueryStatistics::incProcessedBuffers | ( | ) |
increment processedBuffers
| void NES::Runtime::QueryStatistics::incProcessedTasks | ( | ) |
increment processedTasks
| void NES::Runtime::QueryStatistics::incProcessedTuple | ( | uint64_t | tupleCnt | ) |
increment processedTuple
| void NES::Runtime::QueryStatistics::incProcessedWatermarks | ( | ) |
increment processedWatermarks
| void NES::Runtime::QueryStatistics::incQueueSizeSum | ( | uint64_t | size | ) |
| void NES::Runtime::QueryStatistics::incTasksPerPipelineId | ( | PipelineId | pipelineId, |
| WorkerThreadId | workerId | ||
| ) |
increment latency sum
| pipelineId | |
| workerId |
| void NES::Runtime::QueryStatistics::setProcessedBuffers | ( | uint64_t | processedBuffers | ) |
setter for processedBuffers
| void NES::Runtime::QueryStatistics::setProcessedTasks | ( | uint64_t | processedTasks | ) |
setter for processedTasks
| void NES::Runtime::QueryStatistics::setProcessedTuple | ( | uint64_t | processedTuple | ) |
setter for processedTuple
| void NES::Runtime::QueryStatistics::setTimestampFirstProcessedTask | ( | uint64_t | timestampFirstProcessedTask, |
| bool | noOverwrite = false |
||
| ) |
setter for timestampFirstProcessedTask
| timestampFirstProcessedTask | In MS. |
| noOverwrite | If true, the value is only set, if the previous value was 0 (if it was never set). |
References NES_DEBUG.
| void NES::Runtime::QueryStatistics::setTimestampLastProcessedTask | ( | uint64_t | timestampLastProcessedTask | ) |
setter for timestampLastProcessedTask
| timestampLastProcessedTask | In MS. |
| void NES::Runtime::QueryStatistics::setTimestampQueryStart | ( | uint64_t | timestampQueryStart, |
| bool | noOverwrite = false |
||
| ) |
setter for timestampQueryStart
| timestampQueryStart | In MS. |
| noOverwrite | If true, the value is only set, if the previous value was 0 (if it was never set). |
References NES_DEBUG.