BCLS: Bound Constrained Least Squares

Version 0.1

bctimer.c File Reference

#include <assert.h>
#include "bctimer.h"

Include dependency graph for bctimer.c:

Go to the source code of this file.

Functions

double bcls_timer (BCLS_timer *swatch, int task)
 Start and stop the various stopwatches.


Detailed Description

Timer functions.

Definition in file bctimer.c.


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