ParaMonte MATLAB 3.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation. |
This is the base class for generating objects that can time interval consecutively.
More...
Public Member Functions | |
function | Timer () |
Return a scalar object of class pm.timing.Timer. More... | |
function | tic (in self) |
Reset the timer, equivalent to reconstructing the timer object. This is a dynamic method of the class pm.timing.Timer. More... | |
function | toc (in self) |
Return a scalar MATLAB real containing the time past since the (re)construction of the timer object.More... | |
function | del (in self) |
Return a scalar MATLAB real containing the time past since the last time measurement by the timer object.Also, set the clock attribute of the parent object.This is a dynamic method of the class pm.timing.Timer. More... | |
Data Fields | |
Property | start |
Protected Attributes | |
Property | clock |
This is the base class for generating objects that can time interval consecutively.
The main utility of this timer class is its dynamic del()
method which can compute the time elapsed since the last measurement in one function call.
handle
superclass is essential to allow object modification by the object methods.
Final Remarks ⛓
If you believe this algorithm or its documentation can be improved, we appreciate your contribution and help to edit this page's documentation and source file on GitHub.
For details on the naming abbreviations, see this page.
For details on the naming conventions, see this page.
This software is distributed under the MIT license with additional terms outlined below.
This software is available to the public under a highly permissive license.
Help us justify its continued development and maintenance by acknowledging its benefit to society, distributing it, and contributing to it.
function Timer::Timer | ( | ) |
Return a scalar object of class pm.timing.Timer.
This is the constructor of the class pm.timing.Timer.
self
: The output scalar object of class pm.timing.Timer.
Possible calling interfaces ⛓
Example usage ⛓
Final Remarks ⛓
If you believe this algorithm or its documentation can be improved, we appreciate your contribution and help to edit this page's documentation and source file on GitHub.
For details on the naming abbreviations, see this page.
For details on the naming conventions, see this page.
This software is distributed under the MIT license with additional terms outlined below.
This software is available to the public under a highly permissive license.
Help us justify its continued development and maintenance by acknowledging its benefit to society, distributing it, and contributing to it.
function Timer::del | ( | in | self | ) |
Return a scalar MATLAB real
containing the time past since the last time measurement by the timer object.
Also, set the clock
attribute of the parent object.
This is a dynamic method of the class pm.timing.Timer.
delta
: The output scalar MATLAB real
containing the time past since the last time measurement by the timer object.
Possible calling interfaces ⛓
Final Remarks ⛓
If you believe this algorithm or its documentation can be improved, we appreciate your contribution and help to edit this page's documentation and source file on GitHub.
For details on the naming abbreviations, see this page.
For details on the naming conventions, see this page.
This software is distributed under the MIT license with additional terms outlined below.
This software is available to the public under a highly permissive license.
Help us justify its continued development and maintenance by acknowledging its benefit to society, distributing it, and contributing to it.
function Timer::tic | ( | in | self | ) |
Reset the timer, equivalent to reconstructing the timer object.
This is a dynamic method of the class pm.timing.Timer.
Possible calling interfaces ⛓
Final Remarks ⛓
If you believe this algorithm or its documentation can be improved, we appreciate your contribution and help to edit this page's documentation and source file on GitHub.
For details on the naming abbreviations, see this page.
For details on the naming conventions, see this page.
This software is distributed under the MIT license with additional terms outlined below.
This software is available to the public under a highly permissive license.
Help us justify its continued development and maintenance by acknowledging its benefit to society, distributing it, and contributing to it.
function Timer::toc | ( | in | self | ) |
Return a scalar MATLAB real
containing the time past since the (re)construction of the timer object.
Also, set the clock
attribute of the parent object.
This is a dynamic method of the class pm.timing.Timer.
clock
: The output scalar MATLAB real
containing the time past since the (re)construction of the timer object.
Possible calling interfaces ⛓
Final Remarks ⛓
If you believe this algorithm or its documentation can be improved, we appreciate your contribution and help to edit this page's documentation and source file on GitHub.
For details on the naming abbreviations, see this page.
For details on the naming conventions, see this page.
This software is distributed under the MIT license with additional terms outlined below.
This software is available to the public under a highly permissive license.
Help us justify its continued development and maintenance by acknowledging its benefit to society, distributing it, and contributing to it.
|
protected |
Property Timer::start |