LLFIO
v2.00
|
A summary of a directory tree. More...
#include "summarize.hpp"
Public Types | |
template<class T > | |
using | map_type = std::unordered_map< T, size_t > |
Public Member Functions | |
traversal_summary (const traversal_summary &o) | |
traversal_summary (traversal_summary &&o) noexcept | |
traversal_summary & | operator= (const traversal_summary &o) |
traversal_summary & | operator= (traversal_summary &&o) noexcept |
traversal_summary & | operator+= (const traversal_summary &o) |
Adds another summary to this. | |
Static Public Member Functions | |
static constexpr stat_t::want | default_metadata () |
The default metadata summarised. | |
Public Attributes | |
spinlock | _lock |
size_t | stats_failed {0} |
The number of handle stat's which failed. | |
size_t | directory_opens_failed {0} |
The number of directories which could not be opened. | |
stat_t::want | want {stat_t::want::none} |
The summary items desired. | |
map_type< uint64_t > | devs |
The number of items with the given device id. | |
map_type< filesystem::file_type > | types |
The number of items with the given type. | |
handle::extent_type | size {0} |
The sum of maximum extents. On Windows, is for file content only. | |
handle::extent_type | allocated {0} |
The sum of allocated extents. On Windows, is for file content only. | |
handle::extent_type | file_blocks {0} |
The sum of file allocated blocks. | |
handle::extent_type | directory_blocks {0} |
The sum of directory allocated blocks. | |
size_t | max_depth {0} |
The maximum depth of the hierarchy. | |
A summary of a directory tree.