Skip to content

Commit

Permalink
remove dead counter code
Browse files Browse the repository at this point in the history
  • Loading branch information
schombert committed Oct 12, 2024
1 parent f9a1091 commit f5eb862
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/economy/demographics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -841,9 +841,6 @@ void alt_mt_regenerate_from_pop_data(sys::state& state) {
auto const extra_size = sz - csz;
auto const extra_group_size = (extra_size + extra_demo_grouping - 1) / extra_demo_grouping;

LARGE_INTEGER pc_measure_start;
QueryPerformanceCounter(&pc_measure_start);

concurrency::parallel_for(uint32_t(0), full ? sz : csz + extra_group_size, [&](uint32_t base_index) {
auto index = base_index;
if constexpr(!full) {
Expand Down Expand Up @@ -1328,15 +1325,6 @@ void alt_mt_regenerate_from_pop_data(sys::state& state) {
break;
}
});


LARGE_INTEGER pc_measure_end;
QueryPerformanceCounter(&pc_measure_end);

if(pc_measure_end.QuadPart > pc_measure_start.QuadPart) {
//OutputDebugStringA(std::to_string(pc_measure_end.QuadPart - pc_measure_start.QuadPart).c_str());
//OutputDebugStringA("\n");
}
}

template<bool full>
Expand Down

0 comments on commit f5eb862

Please sign in to comment.