EstervQrCode 2.0.0
Library for qr code manipulation
Loading...
Searching...
No Matches
allocator_stats.hpp
1// This file is part of OpenCV project.
2// It is subject to the license terms in the LICENSE file found in the top-level directory
3// of this distribution and at http://opencv.org/license.html.
4
5#ifndef OPENCV_CORE_ALLOCATOR_STATS_HPP
6#define OPENCV_CORE_ALLOCATOR_STATS_HPP
7
8#include "../cvdef.h"
9
10namespace cv { namespace utils {
11
13{
14protected:
17public:
18 virtual uint64_t getCurrentUsage() const = 0;
19 virtual uint64_t getTotalUsage() const = 0;
20 virtual uint64_t getNumberOfAllocations() const = 0;
21 virtual uint64_t getPeakUsage() const = 0;
22
24 virtual void resetPeakUsage() = 0;
25};
26
27}} // namespace
28
29#endif // OPENCV_CORE_ALLOCATOR_STATS_HPP
Definition allocator_stats.hpp:13
virtual uint64_t getPeakUsage() const =0
virtual uint64_t getNumberOfAllocations() const =0
AllocatorStatisticsInterface()
Definition allocator_stats.hpp:15
virtual uint64_t getTotalUsage() const =0
virtual uint64_t getCurrentUsage() const =0
virtual ~AllocatorStatisticsInterface()
Definition allocator_stats.hpp:16
"black box" representation of the file storage associated with a file on disk.
Definition calib3d.hpp:441