|
CASToR
2.0
Tomographic Reconstruction (PET/SPECT/CT)
|
This class is designed to manage some profiling of the code. More...
#include <sChronoManager.hh>

Public Member Functions | |
| ~sChronoManager () | |
| The destructor of sChronoManager. More... | |
| int | CheckParameters () |
| Check validity of all parameters. More... | |
| int | Initialize () |
| Initialize all thread-safe buffers for profiling. More... | |
| void | Display () |
| Display the results of the duration buffers. More... | |
| void | StartIterativeDataUpdateStep1 (int a_thread) |
| Start the timer for duration of iterative data update step 1. More... | |
| void | StopIterativeDataUpdateStep1 (int a_thread) |
| Stop the timer for duration of iterative data update step 1. More... | |
| void | StartIterativeDataUpdateStep2 (int a_thread) |
| Start the timer for duration of iterative data update step 2. More... | |
| void | StopIterativeDataUpdateStep2 (int a_thread) |
| Stop the timer for duration of iterative data update step 2. More... | |
| void | StartIterativeDataUpdateStep3 (int a_thread) |
| Start the timer for duration of iterative data update step 3. More... | |
| void | StopIterativeDataUpdateStep3 (int a_thread) |
| Stop the timer for duration of iterative data update step 3. More... | |
| void | StartIterativeDataUpdateStep4 (int a_thread) |
| Start the timer for duration of iterative data update step 4. More... | |
| void | StopIterativeDataUpdateStep4 (int a_thread) |
| Stop the timer for duration of iterative data update step 4. More... | |
| void | StartConvolution () |
| Start the timer for duration of convolution. More... | |
| void | StopConvolution () |
| Stop the timer for duration of convolution. More... | |
| void | StartCustomStep (int a_thread, int a_step) |
| Start the timer for duration of custom step of the given index for the given thread. More... | |
| void | StopCustomStep (int a_thread, int a_step) |
| Stop the timer for duration of custom step of the given index for the given thread. More... | |
| void | SetNbThreads (int a_nbThreadsForProjection, int a_nbThreadsForImageComputation) |
| Set the number of threads for both projection and image computations. More... | |
| void | SetNbCustomSteps (int a_nbCustomSteps) |
| Set the number of custom steps for profiling. More... | |
| void | SetVerbose (int a_verbose) |
| Set the verbose level. More... | |
Static Public Member Functions | |
| static sChronoManager * | GetInstance () |
| Instantiate the singleton if not already done, then return the pointer to its instance. More... | |
Private Member Functions | |
| sChronoManager () | |
| The constructor of sChronoManager. More... | |
| sChronoManager (sChronoManager const &) | |
| void | operator= (sChronoManager const &) |
Static Private Attributes | |
| static sChronoManager * | mp_Instance = NULL |
This class is designed to manage some profiling of the code.
We'll see for details...
Definition at line 50 of file sChronoManager.hh.
|
inline |
The destructor of sChronoManager.
This is the default and unique destructor. It simply replace the instance pointer by NULL.
Definition at line 70 of file sChronoManager.hh.
|
private |
The constructor of sChronoManager.
This is the default and unique constructor. It does nothing.
Definition at line 46 of file sChronoManager.cc.

|
inlineprivate |
Definition at line 216 of file sChronoManager.hh.
| int sChronoManager::CheckParameters | ( | ) |
Check validity of all parameters.
Definition at line 75 of file sChronoManager.cc.

| void sChronoManager::Display | ( | ) |
Display the results of the duration buffers.
Definition at line 152 of file sChronoManager.cc.

|
inlinestatic |
Instantiate the singleton if not already done, then return the pointer to its instance.
Definition at line 60 of file sChronoManager.hh.


| int sChronoManager::Initialize | ( | ) |
Initialize all thread-safe buffers for profiling.
Definition at line 109 of file sChronoManager.cc.

|
inlineprivate |
Definition at line 217 of file sChronoManager.hh.
|
inline |
Set the number of custom steps for profiling.
| int | a_nbCustomSteps |
Definition at line 196 of file sChronoManager.hh.
|
inline |
Set the number of threads for both projection and image computations.
| int | a_nbThreadsForProjection |
| int | a_nbThreadsForImageComputation |
Definition at line 188 of file sChronoManager.hh.

|
inline |
Set the verbose level.
| int | a_verbose |
Definition at line 203 of file sChronoManager.hh.

|
inline |
Start the timer for duration of convolution.
Definition at line 156 of file sChronoManager.hh.

|
inline |
Start the timer for duration of custom step of the given index for the given thread.
| int | a_thread |
| int | a_step |
Definition at line 170 of file sChronoManager.hh.
|
inline |
Start the timer for duration of iterative data update step 1.
| int | a_thread |
Definition at line 101 of file sChronoManager.hh.

|
inline |
Start the timer for duration of iterative data update step 2.
| int | a_thread |
Definition at line 115 of file sChronoManager.hh.

|
inline |
Start the timer for duration of iterative data update step 3.
| int | a_thread |
Definition at line 129 of file sChronoManager.hh.

|
inline |
Start the timer for duration of iterative data update step 4.
| int | a_thread |
Definition at line 143 of file sChronoManager.hh.

|
inline |
Stop the timer for duration of convolution.
Definition at line 162 of file sChronoManager.hh.

|
inline |
Stop the timer for duration of custom step of the given index for the given thread.
Definition at line 176 of file sChronoManager.hh.
|
inline |
Stop the timer for duration of iterative data update step 1.
| int | a_thread |
Definition at line 108 of file sChronoManager.hh.

|
inline |
Stop the timer for duration of iterative data update step 2.
| int | a_thread |
Definition at line 122 of file sChronoManager.hh.

|
inline |
Stop the timer for duration of iterative data update step 3.
| int | a_thread |
Definition at line 136 of file sChronoManager.hh.

|
inline |
Stop the timer for duration of iterative data update step 4.
| int | a_thread |
Definition at line 150 of file sChronoManager.hh.

|
private |
Definition at line 236 of file sChronoManager.hh.
|
private |
Definition at line 239 of file sChronoManager.hh.
|
private |
Definition at line 225 of file sChronoManager.hh.
|
private |
Definition at line 224 of file sChronoManager.hh.
|
private |
Definition at line 226 of file sChronoManager.hh.
|
private |
Definition at line 237 of file sChronoManager.hh.
|
private |
Definition at line 243 of file sChronoManager.hh.
|
private |
Definition at line 228 of file sChronoManager.hh.
|
private |
Definition at line 229 of file sChronoManager.hh.
|
private |
Definition at line 230 of file sChronoManager.hh.
|
private |
Definition at line 231 of file sChronoManager.hh.
|
staticprivate |
Pointer to this singleton object
Definition at line 217 of file sChronoManager.hh.
|
private |
Definition at line 232 of file sChronoManager.hh.
|
private |
Definition at line 233 of file sChronoManager.hh.
|
private |
Definition at line 234 of file sChronoManager.hh.
|
private |
Definition at line 235 of file sChronoManager.hh.
|
private |
Definition at line 240 of file sChronoManager.hh.
|
private |
Definition at line 241 of file sChronoManager.hh.
1.8.6