![]() |
Project
|
#include "Framework/DataProcessingStats.h"
#include "Framework/TimingHelpers.h"
#include "Framework/DeviceState.h"
#include "Framework/RuntimeError.h"
#include <catch_amalgamated.hpp>
#include <uv.h>
Go to the source code of this file.
Enumerations | |
enum | TestMetricsId { DummyMetric = 0 , DummyMetric2 = 1 , Missing = 2 , ZeroSize = 3 } |
Functions | |
TEST_CASE ("DataProcessingStats") | |
TEST_CASE ("DataProcessingStatsOutOfOrder") | |
TEST_CASE ("DataProcessingStatsInstantaneousRate") | |
We verify that the running average is correctly computed. | |
TEST_CASE ("DataProcessingStatsCumulativeRate") | |
We verify that the running average is correctly computed. | |
TEST_CASE ("DataProcessingStatsPublishing") | |
TEST_CASE ("DataProcessingStatsPublishingRepeated") | |
enum TestMetricsId |
Enumerator | |
---|---|
DummyMetric | |
DummyMetric2 | |
Missing | |
ZeroSize |
Definition at line 21 of file test_DataProcessingStats.cxx.
TEST_CASE | ( | "DataProcessingStats" | ) |
Registering twice should throw.
Registering with a different name should throw.
Registering with a different name should throw.
Definition at line 30 of file test_DataProcessingStats.cxx.
TEST_CASE | ( | "DataProcessingStatsCumulativeRate" | ) |
We verify that the running average is correctly computed.
Definition at line 254 of file test_DataProcessingStats.cxx.
TEST_CASE | ( | "DataProcessingStatsInstantaneousRate" | ) |
We verify that the running average is correctly computed.
Definition at line 211 of file test_DataProcessingStats.cxx.
TEST_CASE | ( | "DataProcessingStatsOutOfOrder" | ) |
Definition at line 182 of file test_DataProcessingStats.cxx.
TEST_CASE | ( | "DataProcessingStatsPublishing" | ) |
Definition at line 299 of file test_DataProcessingStats.cxx.
TEST_CASE | ( | "DataProcessingStatsPublishingRepeated" | ) |
Definition at line 344 of file test_DataProcessingStats.cxx.