message: add assertion for threads_per_core
diff: @@ -1210,6 +1210,7 @@ bool PCM::discoverSystemTopology()
  if (topology[i].socket == topology[0].socket && topology[i].core_id == topology[0].core_id)
  ++threads_per_core;
  }
  + assert(threads_per_core != 0);
  }
  if(num_phys_cores_per_socket == 0 && num_cores == num_online_cores) num_phys_cores_per_socket = num_cores / num_sockets / threads_per_core;
  if(num_online_cores == 0) num_online_cores = num_cores;
  