Version 0.1
#include <time.h>
Include dependency graph for bctimer.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Data Structures | |
struct | BCLS_timer |
Defines | |
#define | BCLS_TIMER_INIT -1 |
#define | BCLS_TIMER_START 0 |
#define | BCLS_TIMER_STOP 1 |
#define | BCLS_TIMER_PRINT 2 |
Typedefs | |
typedef BCLS_timer | BCLS_timer |
Functions | |
double | bcls_timer (BCLS_timer *timer, int task) |
Start and stop the various stopwatches. |
Definition in file bctimer.h.
#define BCLS_TIMER_INIT -1 |
#define BCLS_TIMER_PRINT 2 |
#define BCLS_TIMER_START 0 |
Definition at line 57 of file bctimer.h.
Referenced by bcls_aprod(), bcls_newton_step_lsqr(), bcls_solve_prob(), bcls_timer(), and bcls_usolve().
#define BCLS_TIMER_STOP 1 |
Definition at line 58 of file bctimer.h.
Referenced by bcls_aprod(), bcls_newton_step_lsqr(), bcls_solve_prob(), bcls_timer(), and bcls_usolve().
typedef struct BCLS_timer BCLS_timer |
double bcls_timer | ( | BCLS_timer * | swatch, | |
int | task | |||
) |
Start and stop the various stopwatches.
[in,out] | swatch | The stopwatch operated on. |
[in] | task | Start, stop, init, or print the stopwatch. |
Definition at line 48 of file bctimer.c.
References BCLS_TIMER_INIT, BCLS_TIMER_PRINT, BCLS_TIMER_START, BCLS_TIMER_STOP, BCLS_timer::nStarts, BCLS_timer::start, and BCLS_timer::total.
Referenced by bcls_aprod(), bcls_init_prob(), bcls_newton_step_lsqr(), bcls_solve_prob(), and bcls_usolve().
Generated on Sun Mar 4 22:50:03 2007 by Doxygen 1.5.1