vtk-m2/vtkm/worklet
Haocheng LIU 415252c662 Introduce asynchronous and device independent timer
The timer class now is asynchronous and device independent. it's using an
similiar API as vtkOpenGLRenderTimer with Start(), Stop(), Reset(), Ready(),
and GetElapsedTime() function. For convenience and backward compability, Each
Start() function call will call Reset() internally and each GetElapsedTime()
function call will call Stop() function if it hasn't been called yet for keeping
backward compatibility purpose.

Bascially it can be used in two modes:

* Create a Timer without any device info. vtkm::cont::Timer time;

  * It would enable timers for all enabled devices on the machine. Users can get a
specific elapsed time by passing a device id into the GetElapsedtime function.
If no device is provided, it would pick the maximum of all timer results - the
logic behind this decision is that if cuda is disabled, openmp, serial and tbb
roughly give the same results; if cuda is enabled it's safe to return the
maximum elapsed time since users are more interested in the device execution
time rather than the kernal launch time. The Ready function can be handy here
to query the status of the timer.

* Create a Timer with a device id. vtkm::cont::Timer time((vtkm::cont::DeviceAdapterTagCuda()));

  * It works as the old timer that times for a specific device id.
2019-02-05 12:01:56 -05:00
..
clip Moving ClipTables 2018-12-18 09:57:00 +05:30
colorconversion Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
connectivities Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
contour MarchingCubes now uses Gradient fast paths when possible. 2017-09-25 14:25:28 -04:00
contourtree Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
contourtree_augmented Remove VTK-m TestBuild infrastructure 2019-01-16 10:04:33 -06:00
cosmotools Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
gradient Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
histogram Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
internal Testing run methods now take argc/argv to init logging/runtime device 2019-01-17 13:16:27 -06:00
particleadvection Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
spatialstructure Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
splatkernels VTK-m device side math functions need to use the vtkm:: wrappers 2018-10-18 13:57:53 -04:00
testing Introduce asynchronous and device independent timer 2019-02-05 12:01:56 -05:00
tetrahedralize Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
triangulate Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
wavelets Introduce asynchronous and device independent timer 2019-02-05 12:01:56 -05:00
zfp Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
AverageByKey.h Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
CellAverage.h Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
CellDeepCopy.h Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
CellMeasure.h Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
Clip.h Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
CMakeLists.txt Install missing headers found by VTKmCheckSourceInInstall 2019-01-29 14:46:27 -05:00
ContourTreeUniform.h Remove TryExecute from filters 2018-10-16 15:59:53 -06:00
ContourTreeUniformAugmented.h Introduce asynchronous and device independent timer 2019-02-05 12:01:56 -05:00
CoordinateSystemTransform.h Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
CosmoTools.h Merge worklet testing executables into a device dependent shared library 2018-11-23 10:13:56 -05:00
CrossProduct.h Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
DispatcherMapField.h Rename ArrayHandleVariant to VariantArrayHandle. 2018-12-27 14:35:56 -05:00
DispatcherMapTopology.h Make DispatcherBase invoke using a TryExecute 2018-08-29 19:18:54 -07:00
DispatcherPointNeighborhood.h Make DispatcherBase invoke using a TryExecute 2018-08-29 19:18:54 -07:00
DispatcherReduceByKey.h Make DispatcherBase invoke using a TryExecute 2018-08-29 19:18:54 -07:00
DispatcherStreamingMapField.h Rename ArrayHandleVariant to VariantArrayHandle. 2018-12-27 14:35:56 -05:00
DotProduct.h Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
ExternalFaces.h Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
ExtractGeometry.h Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
ExtractPoints.h Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
ExtractStructured.h Remove TryExecute from filters 2018-10-16 15:59:53 -06:00
FieldEntropy.h Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
FieldHistogram.h Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
FieldStatistics.h Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
Gradient.h Remove TryExecute from filters 2018-10-16 15:59:53 -06:00
Invoker.h Add an easier way to launch vtkm worklets 2018-09-04 15:01:18 -04:00
KdTree3D.h Merge worklet testing executables into a device dependent shared library 2018-11-23 10:13:56 -05:00
KernelSplatter.h Introduce asynchronous and device independent timer 2019-02-05 12:01:56 -05:00
Keys.cxx Reduce the number of precompiled Keys instantiations 2019-01-28 15:44:37 -05:00
Keys.h Reduce the number of precompiled Keys instantiations 2019-01-28 15:44:37 -05:00
Magnitude.h Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
MarchingCubes.h Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
Mask.h Remove TryExecute from filters 2018-10-16 15:59:53 -06:00
MaskPoints.h Remove TryExecute from filters 2018-10-16 15:59:53 -06:00
NDimsEntropy.h Remove TryExecute from filters 2018-10-16 15:59:53 -06:00
NDimsHistMarginalization.h Remove TryExecute from filters 2018-10-16 15:59:53 -06:00
NDimsHistogram.h Update vtkm/worklet to work with ArrayHandleVariant 2018-12-27 14:35:56 -05:00
Normalize.h Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
OscillatorSource.h Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
ParticleAdvection.h Remove TryExecute from filters 2018-10-16 15:59:53 -06:00
PointAverage.h Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
PointElevation.h Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
PointTransform.h Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
Probe.h Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
RemoveUnusedPoints.h Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
ScalarsToColors.h Merge worklet testing executables into a device dependent shared library 2018-11-23 10:13:56 -05:00
ScalarsToColors.hxx Merge worklet testing executables into a device dependent shared library 2018-11-23 10:13:56 -05:00
ScatterCounting.cxx Make a vtkm_worklet library 2019-01-23 17:09:15 -07:00
ScatterCounting.h Add most common implementations of Keys templates to library 2019-01-24 13:18:10 -07:00
ScatterIdentity.h vtkm prefers 'using' over typedef. 2018-02-23 10:47:20 -05:00
ScatterPermutation.h Update copyright for Sandia 2017-09-20 15:33:44 -06:00
ScatterUniform.h Move Scatter from Worklet to Dispatcher 2018-04-27 00:43:51 -04:00
SplitSharpEdges.h Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
StableSortIndices.h Remove TryExecute from filters 2018-10-16 15:59:53 -06:00
StreamLineUniformGrid.h Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
SurfaceNormals.h Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
Tetrahedralize.h Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
Threshold.h Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
ThresholdPoints.h Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
Triangulate.h Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
VertexClustering.h Introduce asynchronous and device independent timer 2019-02-05 12:01:56 -05:00
WarpScalar.h Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
WarpVector.h Run the update-control-signature-tags.sh script 2019-01-11 12:23:10 -07:00
WaveletCompressor.h Merge worklet testing executables into a device dependent shared library 2018-11-23 10:13:56 -05:00
WaveletGenerator.h Fix off-by-one error in WaveletGen extents. 2018-08-21 14:21:42 -04:00
WorkletMapField.h Remove type lists from ControlSignature arguments for arrays 2019-01-11 12:15:16 -07:00
WorkletMapTopology.h Remove type lists from ControlSignature arguments for arrays 2019-01-11 12:15:16 -07:00
WorkletPointNeighborhood.h Remove type lists from ControlSignature arguments for arrays 2019-01-11 12:15:16 -07:00
WorkletReduceByKey.h Remove type lists from ControlSignature arguments for arrays 2019-01-11 12:15:16 -07:00
ZFP1DCompressor.h Move zfp helper functions to zfp namespace and remove debug code 2018-12-21 16:36:09 -05:00
ZFP1DDecompress.h Move zfp helper functions to zfp namespace and remove debug code 2018-12-21 16:36:09 -05:00
ZFP2DCompressor.h Move zfp helper functions to zfp namespace and remove debug code 2018-12-21 16:36:09 -05:00
ZFP2DDecompress.h Move zfp helper functions to zfp namespace and remove debug code 2018-12-21 16:36:09 -05:00
ZFPCompressor.h Move zfp helper functions to zfp namespace and remove debug code 2018-12-21 16:36:09 -05:00
ZFPDecompress.h Move zfp helper functions to zfp namespace and remove debug code 2018-12-21 16:36:09 -05:00