GCC Code Coverage Report


Directory: ./
File: benchmarks/clean_shared_memory.cpp
Date: 2022-06-30 06:29:57
Exec Total Coverage
Lines: 0 5 0.0%
Branches: 0 4 0.0%

Line Branch Exec Source
1 /**
2 * @file clean_shared_memory.cpp
3 * @author Vincent Berenz
4 * @license License BSD-3-Clause
5 * @copyright Copyright (c) 2019, New York University and Max Planck
6 * Gesellschaft.
7 * @date 2019-05-22
8 *
9 * @brief Clean the shared memory of the benchmark, the unnittests, ...
10 */
11
12 #include <boost/interprocess/managed_shared_memory.hpp>
13 #include <boost/interprocess/sync/named_mutex.hpp>
14 #include "shared_memory/benchmarks/benchmark_common.hh"
15
16 int main()
17 {
18 boost::interprocess::named_mutex::remove(SHM_NAME.c_str());
19 boost::interprocess::shared_memory_object::remove(SHM_OBJECT_NAME.c_str());
20 boost::interprocess::shared_memory_object::remove("main_memory");
21 return 0;
22 }
23