CPPuddle
buffer_management_interface.hpp
Go to the documentation of this file.
1 // Copyright (c) 2024 Gregor Daiß
2 //
3 // Distributed under the Boost Software License, Version 1.0. (See accompanying
4 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5 
6 #ifndef BUFFER_MANAGEMENT_INTERFACE_HPP
7 #define BUFFER_MANAGEMENT_INTERFACE_HPP
8 
10 
13 
14 namespace cppuddle {
16 namespace memory_recycling {
17 
19 inline void print_buffer_counters() {
21 }
25 
27 inline void unused_buffer_cleanup() {
29 }
33 
34 } // namespace memory_recycling
35 } // end namespace cppuddle
36 
37 #endif
static void print_performance_counters()
Definition: buffer_management.hpp:165
static void clean_all()
Deallocate all buffers, no matter whether they are marked as used or not.
Definition: buffer_management.hpp:141
static void finalize()
Deallocate all buffers, no matter whether they are marked as used or not.
Definition: buffer_management.hpp:157
static void clean_unused_buffers()
Deallocated all currently unused buffer.
Definition: buffer_management.hpp:149
void finalize()
Definition: buffer_management_interface.hpp:32
void print_buffer_counters()
Print performance counters of all buffer managers to stdout.
Definition: buffer_management_interface.hpp:19
void unused_buffer_cleanup()
Deletes all buffers currently marked as unused.
Definition: buffer_management_interface.hpp:27
void force_buffer_cleanup()
Definition: buffer_management_interface.hpp:24
Definition: config.hpp:31