OpenCV 4.5.3(日本語機械翻訳)
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
10 namespace cv { namespace utils {
11
13{
14 protected:
17 public:
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
cv
"black box" representation of the file storage associated with a file on disk.
Definition: aruco.hpp:75