diff options
author | Jochen Topf <jochen@topf.org> | 2014-05-15 10:01:20 +0200 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2014-05-15 10:01:20 +0200 |
commit | ff2995158556ede9593b70daea16b467c50278f0 (patch) | |
tree | 8faf32e7b745fed51390487a3413cc9c1144a9a3 /tagstats/tagstats_handler.hpp | |
parent | cba06f80f5a532792d069e4a6373d2f82fb7f2a9 (diff) | |
download | taginfo-ff2995158556ede9593b70daea16b467c50278f0.tar taginfo-ff2995158556ede9593b70daea16b467c50278f0.tar.gz |
Clean up output of sizes of important data structures.
Diffstat (limited to 'tagstats/tagstats_handler.hpp')
-rw-r--r-- | tagstats/tagstats_handler.hpp | 13 |
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; |