Add scope logs for building locators
This commit is contained in:
parent
2712c105de
commit
c60cae3b87
@ -229,6 +229,8 @@ CellLocatorBoundingIntervalHierarchy::~CellLocatorBoundingIntervalHierarchy() =
|
||||
|
||||
void CellLocatorBoundingIntervalHierarchy::Build()
|
||||
{
|
||||
VTKM_LOG_SCOPE(vtkm::cont::LogLevel::Perf, "CellLocatorBoundingIntervalHierarchy::Build");
|
||||
|
||||
vtkm::cont::Invoker invoker;
|
||||
|
||||
vtkm::cont::DynamicCellSet cellSet = this->GetCellSet();
|
||||
|
@ -347,6 +347,8 @@ namespace cont
|
||||
///
|
||||
VTKM_CONT void CellLocatorTwoLevel::Build()
|
||||
{
|
||||
VTKM_LOG_SCOPE(vtkm::cont::LogLevel::Perf, "CellLocatorTwoLevel::Build");
|
||||
|
||||
vtkm::cont::Invoker invoke;
|
||||
|
||||
auto cellset = this->GetCellSet();
|
||||
|
@ -61,6 +61,8 @@ private:
|
||||
|
||||
void PointLocatorSparseGrid::Build()
|
||||
{
|
||||
VTKM_LOG_SCOPE(vtkm::cont::LogLevel::Perf, "PointLocatorSparseGrid::Build");
|
||||
|
||||
if (this->IsRangeInvalid())
|
||||
{
|
||||
this->Range = this->GetCoordinates().GetRange();
|
||||
|
Loading…
Reference in New Issue
Block a user