Adds another summary to this.
128 {
129 lock_guard<spinlock> g(_lock);
132 for(auto &i : o.devs)
133 {
134 devs[i.first] += i.second;
135 }
136 for(auto &i : o.types)
137 {
138 types[i.first] += i.second;
139 }
145 return *this;
146 }
handle::extent_type file_blocks
The sum of file allocated blocks.
Definition summarize.hpp:59
map_type< filesystem::file_type > types
The number of items with the given type.
Definition summarize.hpp:56
size_t directory_opens_failed
The number of directories which could not be opened.
Definition summarize.hpp:52
handle::extent_type directory_blocks
The sum of directory allocated blocks.
Definition summarize.hpp:60
map_type< uint64_t > devs
The number of items with the given device id.
Definition summarize.hpp:55
size_t stats_failed
The number of handle stat's which failed.
Definition summarize.hpp:51
handle::extent_type size
The sum of maximum extents. On Windows, is for file content only.
Definition summarize.hpp:57
size_t max_depth
The maximum depth of the hierarchy.
Definition summarize.hpp:61
handle::extent_type allocated
The sum of allocated extents. On Windows, is for file content only.
Definition summarize.hpp:58