BCLS: Bound Constrained Least Squares

Version 0.1

bctimer.h File Reference

#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.


Detailed Description

BCLS timer functions.

Definition in file bctimer.h.


Define Documentation

#define BCLS_TIMER_INIT   -1

Definition at line 56 of file bctimer.h.

Referenced by bcls_init_prob(), and bcls_timer().

#define BCLS_TIMER_PRINT   2

Definition at line 59 of file bctimer.h.

Referenced by bcls_timer().

#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 Documentation

typedef struct BCLS_timer BCLS_timer

Definition at line 47 of file bctimer.h.


Function Documentation

double bcls_timer ( BCLS_timer swatch,
int  task 
)

Start and stop the various stopwatches.

Parameters:
[in,out] swatch The stopwatch operated on.
[in] task Start, stop, init, or print the stopwatch.
Returns:
Total time on 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