Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
metrics.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2023 Roc Streaming authors
3  *
4  * This Source Code Form is subject to the terms of the Mozilla Public
5  * License, v. 2.0. If a copy of the MPL was not distributed with this
6  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7  */
8 
9 //! @file roc_pipeline/metrics.h
10 //! @brief Pipeline metrics.
11 
12 #ifndef ROC_PIPELINE_METRICS_H_
13 #define ROC_PIPELINE_METRICS_H_
14 
16 #include "roc_core/stddefs.h"
17 
18 namespace roc {
19 namespace pipeline {
20 
21 //! Metrics of sender session (connection to receiver).
24  }
25 };
26 
27 //! Metrics of sender slot.
29  //! Is slot configuration complete.
31 
33  : is_complete(false) {
34  }
35 };
36 
37 //! Metrics of receiver session (connection from sender).
39  //! Latency metrics.
41 };
42 
43 //! Metrics of receiver slot.
45  //! Number of sessions connected to receiver.
46  size_t num_sessions;
47 
49  : num_sessions(0) {
50  }
51 };
52 
53 } // namespace pipeline
54 } // namespace roc
55 
56 #endif // ROC_PIPELINE_METRICS_H_
Latency monitor.
Root namespace.
Commonly used types and functions.
Metrics of latency monitor.
Metrics of receiver session (connection from sender).
Definition: metrics.h:38
audio::LatencyMonitorMetrics latency
Latency metrics.
Definition: metrics.h:40
Metrics of receiver slot.
Definition: metrics.h:44
size_t num_sessions
Number of sessions connected to receiver.
Definition: metrics.h:46
Metrics of sender session (connection to receiver).
Definition: metrics.h:22
Metrics of sender slot.
Definition: metrics.h:28
bool is_complete
Is slot configuration complete.
Definition: metrics.h:30