Module utils
source code
The :mod:`parsimony.utils.utils` module includes common functions and
constants.
Please add anything useful or that you need throughout the whole
package to this module.
Created on Thu Feb 8 09:22:00 2013
Copyright (c) 2013-2014, CEA/DSV/I2BM/Neurospin. All rights
reserved.
Author:
Tommy Löfstedt
License:
BSD 3-clause.
floating point number
|
time_cpu()
Return the CPU time or real time since the start of the process or
since the first call to clock(). |
|
|
floating point number
|
time_wall()
Return the current time in seconds since the Epoch. |
|
|
floating point number
|
time()
Return the CPU time or real time since the start of the process or
since the first call to clock(). |
|
|
|
|
|
|
|
__package__ = ' parsimony.utils '
|
Return the CPU time or real time since the start of the process or
since the first call to clock(). This has as much precision as the
system records.
- Returns: floating point number
|
Return the current time in seconds since the Epoch. Fractions of a
second may be present if the system clock provides them.
- Returns: floating point number
|
Return the CPU time or real time since the start of the process or
since the first call to clock(). This has as much precision as the
system records.
- Returns: floating point number
|
This decorator can be used to mark functions as deprecated.
Useful when phasing out old API functions.
Parameters
----------
replaced_by : String. The name of the function that should be used instead.
|