From 83cb310628c842d8efd42261a1f149612a533046 Mon Sep 17 00:00:00 2001 From: Erica Fischer Date: Wed, 20 Mar 2024 13:04:19 -0700 Subject: [PATCH] Debug logging for child shard calculation --- tile.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tile.cpp b/tile.cpp index 9d64123a9..03b3e01b4 100644 --- a/tile.cpp +++ b/tile.cpp @@ -2769,6 +2769,9 @@ int traverse_zooms(int *geomfd, off_t *geom_size, char *global_stringpool, std:: threads = 1; } + size_t child_shards = TEMP_FILES / threads; + fprintf(stderr, "Using %zu temporary files and %zu threads on %zu CPUS for %zu child shards\n", TEMP_FILES, threads, CPUS, child_shards); + // Assign temporary files to threads std::vector tasks;