Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft code for ITKPerformanceBenchmark #1

Merged
merged 19 commits into from
Oct 30, 2015

Conversation

hyunjaeKang
Copy link
Contributor

No description provided.

Hyun Jae Kang added 19 commits October 27, 2015 16:38
- Add itkHighPriorityRealTimeClock

- itkHighPriorityRealTimeClock class allows the user to trace
  the time passed between the execution of two pieces of code.
  The values of time are taken from the itkHighPriorityRealTimeClock.
- Example Code :
  Benchmarks/ClockTest/itkHighPriorityRealTimeProbeTest.cxx
- Update Benchmarks/ClockTest/CMakeLists.txt for the example code of
  itkHighPriorityRealTimeProbeTest.cxx
- Deleted a deprecated example code (TimeTest.cxx)
- Add an empty code for itkHighPriorityRealTimeProbesTest.cxx
- Add the function of "PrintExpandedReport" at the class of
  HighPriorityRealTimeProbe.

- Add a followd example code (itkHighPriorityRealTimeProbeTest2.cxx)

- Update the CMakeLists.txt
…rityRealTimeProbe

- Replace the function name of "SetNameOfBenchmark" to "SetNameOfProbe" in
  itkHighPriorityRealTimeProbe class

- Update the following example code
- This class was implemented to measure mutiple computation time.
- Changed the function "PrintReport" to "Report" in itkHighPriorityRealTimeProbe.h
  to keep the cconsistency with itkTimeProbesCollector
- Rename the class itkHighPriorityRealTimeProbeCollector to
  itkHighPriorityRealTimeProbeCollector
- renamed:  ClockTest/itkHighPriorityRealTimeProbesTest.cxx ->
            ClockTest/itkHighPriorityRealTimeProbesCollectorTest.cxx

- renamed:  ClockTest/itkTimeProbesTest.cxx ->
            ClockTest/itkTimeProbesCollectorTest.cxx
- Update the associated CMakeLists.txt
- Fixed an error of the function of GetStandardDeviation
  when it was divided by zero.
- Fixed an error of GetStandardDeviation
  when it tried to divide with zero to calculate STD

# Add ITK Benchmark Utilities
add_subdirectory(Utilities)
include_directories(Utilities)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will be made into the module.

HighPriorityRealTimeProbe
::SetMumberOfThreads(const unsigned int numthreads)
{
itk::MultiThreader::SetGlobalDefaultNumberOfThreads(numthreads);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove itk::

thewtex added a commit that referenced this pull request Oct 30, 2015
Draft code for ITKPerformanceBenchmark
@thewtex thewtex merged commit c388f48 into InsightSoftwareConsortium:master Oct 30, 2015
thewtex added a commit that referenced this pull request May 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants