Skip to content

Commit

Permalink
Display nbr of points in each level
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoLevy committed Nov 8, 2024
1 parent 6ac07b3 commit c389667
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/lib/geogram/delaunay/periodic_delaunay_3d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3821,14 +3821,17 @@ namespace GEO {
// Insert points in all BRIO levels
for(; lvl<levels.size()-1; ++lvl) {

index_t lvl_b = levels[lvl];
index_t lvl_e = levels[lvl+1];

if(benchmark_mode_) {
Logger::out(phase) << "Level "
<< lvl << " : start" << std::endl;
<< lvl << " : start "
<< " nbv = "
<< (lvl_e - lvl_b)
<< std::endl;
}

index_t lvl_b = levels[lvl];
index_t lvl_e = levels[lvl+1];

index_t work_size = (lvl_e - lvl_b)/index_t(threads_.size());

// Initialize threads
Expand Down

0 comments on commit c389667

Please sign in to comment.