Home
|
Main Page
|
Modules
|
Namespace List
|
Class Hierarchy
|
Alphabetical List
|
Data Structures
|
File List
|
Namespace Members
|
Data Fields
|
Globals
|
Related Pages
src
elx
5.1.0
Common
OpenCL
ITKimprovements
itkOpenCLProfilingTimeProbe.h
Go to the documentation of this file.
1
/*=========================================================================
2
*
3
* Copyright UMC Utrecht and contributors
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0.txt
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*
17
*=========================================================================*/
18
#ifndef itkOpenCLProfilingTimeProbe_h
19
#define itkOpenCLProfilingTimeProbe_h
20
21
#include "
itkOpenCLExport.h
"
22
#include "itkTimeProbe.h"
23
24
#include <string>
25
26
namespace
itk
27
{
34
class
ITKOpenCL_EXPORT
OpenCLProfilingTimeProbe
35
{
36
public
:
38
OpenCLProfilingTimeProbe
(
const
std::string & message);
39
41
~OpenCLProfilingTimeProbe
();
42
43
private
:
44
TimeProbe
m_Timer
;
45
std::string
m_ProfilingMessage
;
46
};
47
48
}
// end namespace itk
49
50
#endif
// itkOpenCLProfilingTimeProbe_h
itk::OpenCLProfilingTimeProbe
Computes the time passed between two points in code.
Definition:
itkOpenCLProfilingTimeProbe.h:35
itk::OpenCLProfilingTimeProbe::m_ProfilingMessage
std::string m_ProfilingMessage
Definition:
itkOpenCLProfilingTimeProbe.h:45
itk::OpenCLProfilingTimeProbe::OpenCLProfilingTimeProbe
OpenCLProfilingTimeProbe(const std::string &message)
itk::OpenCLProfilingTimeProbe::m_Timer
TimeProbe m_Timer
Definition:
itkOpenCLProfilingTimeProbe.h:44
itk::OpenCLProfilingTimeProbe::~OpenCLProfilingTimeProbe
~OpenCLProfilingTimeProbe()
itkOpenCLExport.h
ITKOpenCL_EXPORT
#define ITKOpenCL_EXPORT
Definition:
itkOpenCLExport.h:33
itk
Definition:
itkAdvancedImageToImageMetric.h:44
Generated on Wed 12 Apr 2023 for elastix by
1.9.6