|
CARLA
|
#include "test.h"#include <carla/Buffer.h>#include <carla/BufferView.h>#include <carla/streaming/Client.h>#include <carla/streaming/Server.h>#include <boost/asio/executor_work_guard.hpp>#include <boost/asio/post.hpp>#include <algorithm>Go to the source code of this file.
Classes | |
| class | Benchmark |
Functions | |
| static void | benchmark_image (const size_t dimensions, const size_t number_of_streams=1u, const double success_ratio=1.0) |
| static size_t | get_max_concurrency () |
| static auto | make_special_message (size_t size) |
| TEST (benchmark_streaming, image_1920x1080) | |
| TEST (benchmark_streaming, image_1920x1080_mt) | |
| TEST (benchmark_streaming, image_200x200) | |
| TEST (benchmark_streaming, image_200x200_mt) | |
| TEST (benchmark_streaming, image_800x600) | |
| TEST (benchmark_streaming, image_800x600_mt) | |
|
static |
Definition at line 140 of file test_benchmark_streaming.cpp.
References Benchmark::AddStreams(), carla::logging::log(), Benchmark::Run(), and TESTING_PORT.
Referenced by TEST(), TEST(), TEST(), TEST(), TEST(), and TEST().
|
static |
Definition at line 135 of file test_benchmark_streaming.cpp.
|
static |
Definition at line 22 of file test_benchmark_streaming.cpp.
References carla::BufferView::CreateFrom(), and carla::Buffer::size().
| TEST | ( | benchmark_streaming | , |
| image_1920x1080 | |||
| ) |
Definition at line 159 of file test_benchmark_streaming.cpp.
References benchmark_image().
| TEST | ( | benchmark_streaming | , |
| image_1920x1080_mt | |||
| ) |
Definition at line 171 of file test_benchmark_streaming.cpp.
References benchmark_image(), and get_max_concurrency().
| TEST | ( | benchmark_streaming | , |
| image_200x200 | |||
| ) |
Definition at line 151 of file test_benchmark_streaming.cpp.
References benchmark_image().
| TEST | ( | benchmark_streaming | , |
| image_200x200_mt | |||
| ) |
Definition at line 163 of file test_benchmark_streaming.cpp.
References benchmark_image(), and get_max_concurrency().
| TEST | ( | benchmark_streaming | , |
| image_800x600 | |||
| ) |
Definition at line 155 of file test_benchmark_streaming.cpp.
References benchmark_image().
| TEST | ( | benchmark_streaming | , |
| image_800x600_mt | |||
| ) |
Definition at line 167 of file test_benchmark_streaming.cpp.
References benchmark_image(), and get_max_concurrency().