mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-18 18:15:44 +00:00
Remove unneeded text from the BenchmarkFilters output
This makes it easier to read as it has less horizontal text for each line.
This commit is contained in:
parent
6b462cc99f
commit
46fed414e8
@ -248,7 +248,7 @@ class BenchmarkFilters
|
|||||||
std::string Description() const
|
std::string Description() const
|
||||||
{
|
{
|
||||||
std::ostringstream desc;
|
std::ostringstream desc;
|
||||||
desc << "Gradient filter (options=";
|
desc << "Gradient (";
|
||||||
if (this->Options & Gradient)
|
if (this->Options & Gradient)
|
||||||
{
|
{
|
||||||
desc << "Gradient,";
|
desc << "Gradient,";
|
||||||
@ -279,11 +279,11 @@ class BenchmarkFilters
|
|||||||
}
|
}
|
||||||
if (this->Options & ScalarInput)
|
if (this->Options & ScalarInput)
|
||||||
{
|
{
|
||||||
desc << "ScalarInput,";
|
desc << "ScalarInput";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
desc << "VectorInput,";
|
desc << "VectorInput";
|
||||||
}
|
}
|
||||||
|
|
||||||
desc << ")";
|
desc << ")";
|
||||||
@ -334,7 +334,7 @@ class BenchmarkFilters
|
|||||||
}
|
}
|
||||||
|
|
||||||
VTKM_CONT
|
VTKM_CONT
|
||||||
std::string Description() const { return "Threshold filter"; }
|
std::string Description() const { return "Threshold"; }
|
||||||
};
|
};
|
||||||
VTKM_MAKE_BENCHMARK(Threshold, BenchThreshold);
|
VTKM_MAKE_BENCHMARK(Threshold, BenchThreshold);
|
||||||
|
|
||||||
@ -374,7 +374,7 @@ class BenchmarkFilters
|
|||||||
}
|
}
|
||||||
|
|
||||||
VTKM_CONT
|
VTKM_CONT
|
||||||
std::string Description() const { return "ThresholdPoints filter"; }
|
std::string Description() const { return "ThresholdPoints"; }
|
||||||
};
|
};
|
||||||
VTKM_MAKE_BENCHMARK(ThresholdPoints, BenchThresholdPoints, false);
|
VTKM_MAKE_BENCHMARK(ThresholdPoints, BenchThresholdPoints, false);
|
||||||
VTKM_MAKE_BENCHMARK(ThresholdPointsCompact, BenchThresholdPoints, true);
|
VTKM_MAKE_BENCHMARK(ThresholdPointsCompact, BenchThresholdPoints, true);
|
||||||
@ -401,7 +401,7 @@ class BenchmarkFilters
|
|||||||
}
|
}
|
||||||
|
|
||||||
VTKM_CONT
|
VTKM_CONT
|
||||||
std::string Description() const { return "CellAverage filter"; }
|
std::string Description() const { return "CellAverage"; }
|
||||||
};
|
};
|
||||||
VTKM_MAKE_BENCHMARK(CellAverage, BenchCellAverage);
|
VTKM_MAKE_BENCHMARK(CellAverage, BenchCellAverage);
|
||||||
|
|
||||||
@ -427,7 +427,7 @@ class BenchmarkFilters
|
|||||||
}
|
}
|
||||||
|
|
||||||
VTKM_CONT
|
VTKM_CONT
|
||||||
std::string Description() const { return "PointAverage filter"; }
|
std::string Description() const { return "PointAverage"; }
|
||||||
};
|
};
|
||||||
VTKM_MAKE_BENCHMARK(PointAverage, BenchPointAverage);
|
VTKM_MAKE_BENCHMARK(PointAverage, BenchPointAverage);
|
||||||
|
|
||||||
@ -456,7 +456,7 @@ class BenchmarkFilters
|
|||||||
}
|
}
|
||||||
|
|
||||||
VTKM_CONT
|
VTKM_CONT
|
||||||
std::string Description() const { return "WarpScalar filter"; }
|
std::string Description() const { return "WarpScalar"; }
|
||||||
};
|
};
|
||||||
VTKM_MAKE_BENCHMARK(WarpScalar, BenchWarpScalar);
|
VTKM_MAKE_BENCHMARK(WarpScalar, BenchWarpScalar);
|
||||||
|
|
||||||
@ -484,7 +484,7 @@ class BenchmarkFilters
|
|||||||
}
|
}
|
||||||
|
|
||||||
VTKM_CONT
|
VTKM_CONT
|
||||||
std::string Description() const { return "WarpVector filter"; }
|
std::string Description() const { return "WarpVector"; }
|
||||||
};
|
};
|
||||||
VTKM_MAKE_BENCHMARK(WarpVector, BenchWarpVector);
|
VTKM_MAKE_BENCHMARK(WarpVector, BenchWarpVector);
|
||||||
|
|
||||||
@ -577,7 +577,7 @@ class BenchmarkFilters
|
|||||||
std::string Description() const
|
std::string Description() const
|
||||||
{
|
{
|
||||||
std::ostringstream desc;
|
std::ostringstream desc;
|
||||||
desc << "ExternalFaces filter";
|
desc << "ExternalFaces";
|
||||||
if (this->Filter.GetCompactPoints())
|
if (this->Filter.GetCompactPoints())
|
||||||
{
|
{
|
||||||
desc << " (compact points)";
|
desc << " (compact points)";
|
||||||
@ -610,7 +610,7 @@ class BenchmarkFilters
|
|||||||
}
|
}
|
||||||
|
|
||||||
VTKM_CONT
|
VTKM_CONT
|
||||||
std::string Description() const { return "Tetrahedralize filter"; }
|
std::string Description() const { return "Tetrahedralize"; }
|
||||||
};
|
};
|
||||||
VTKM_MAKE_BENCHMARK(Tetrahedralize, BenchTetrahedralize);
|
VTKM_MAKE_BENCHMARK(Tetrahedralize, BenchTetrahedralize);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user