GCC Code Coverage Report


Directory: ./
File: demos/exchange_manager_clean.cpp
Date: 2022-06-30 06:29:57
Exec Total Coverage
Lines: 0 3 0.0%
Branches: 0 12 0.0%

Line Branch Exec Source
1 #include <signal.h>
2 #include <stdlib.h>
3 #include <time.h>
4 #include <unistd.h>
5 #include <iostream>
6 #include "shared_memory/demos/four_int_values.hpp"
7 #include "shared_memory/exchange_manager_producer.hpp"
8
9 #define SEGMENT_ID "exchange_demo_segment"
10 #define QUEUE_SIZE 2000
11
12 int main()
13 {
14 shared_memory::Exchange_manager_producer<
15 shared_memory::Four_int_values,
16 QUEUE_SIZE>::clean_mutex(std::string(SEGMENT_ID));
17 shared_memory::Exchange_manager_producer<
18 shared_memory::Four_int_values,
19 QUEUE_SIZE>::clean_memory(std::string(SEGMENT_ID));
20 }
21