summaryrefslogtreecommitdiff
path: root/tagstats/tagstats_handler.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tagstats/tagstats_handler.hpp')
-rw-r--r--tagstats/tagstats_handler.hpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/tagstats/tagstats_handler.hpp b/tagstats/tagstats_handler.hpp
index f3b2b38..696ae45 100644
--- a/tagstats/tagstats_handler.hpp
+++ b/tagstats/tagstats_handler.hpp
@@ -616,12 +616,13 @@ public:
}
void init(Osmium::OSM::Meta&) {
- std::cerr << "sizeof(value_hash_map_t) = " << sizeof(value_hash_map_t) << std::endl;
- std::cerr << "sizeof(Counter) = " << sizeof(Counter) << std::endl;
- std::cerr << "sizeof(key_combination_hash_map_t) = " << sizeof(combination_hash_map_t) << std::endl;
- std::cerr << "sizeof(user_hash_map_t) = " << sizeof(user_hash_map_t) << std::endl;
- std::cerr << "sizeof(GeoDistribution) = " << sizeof(GeoDistribution) << std::endl;
- std::cerr << "sizeof(KeyStats) = " << sizeof(KeyStats) << std::endl << std::endl;
+ std::cerr << "Sizes of some important data structures:\n";
+ std::cerr << " sizeof(value_hash_map_t) = " << sizeof(value_hash_map_t) << "\n";
+ std::cerr << " sizeof(Counter) = " << sizeof(Counter) << "\n";
+ std::cerr << " sizeof(key_combination_hash_map_t) = " << sizeof(combination_hash_map_t) << "\n";
+ std::cerr << " sizeof(user_hash_map_t) = " << sizeof(user_hash_map_t) << "\n";
+ std::cerr << " sizeof(GeoDistribution) = " << sizeof(GeoDistribution) << "\n";
+ std::cerr << " sizeof(KeyStats) = " << sizeof(KeyStats) << "\n\n";
_print_memory_usage();
std::cerr << "init done" << std::endl << std::endl;