StatInit(3P) Sun Performance Library StatInit(3P)NAMEStatFree - frees storage that was previously allocated to hold perfor‐
mance statistics of the SuperLU solver.
SYNOPSIS
#include <sunperf.h>
void StatFree(SuperLUStat_t *stat);
void StatFree_64(SuperLUStat_t_64 *stat);
PURPOSE
Most of the computational routines use a structure to record certain
kinds of performance data, namely the time and number of floating point
operations in each phase of the computation, and data about the size of
the matrices L and U. These statistics are collected during the compu‐
tation and stored in a variable of type SuperLUStat_t:
typedef struct {
int *panel_histo;
double *utime;
float *ops;
int TinyPivots;
int RefineSteps;
} SuperLUStat_t;
typedef struct {
long *panel_histo;
double *utime;
float *ops;
long TinyPivots;
long RefineSteps;
} SuperLUStat_t_64;
where
panel_histo is histogram of panel size distribution
utime is running time at various phases
ops is operation count at various phases
TinyPivots is number of tiny pivots
RefineSteps is number of iterative refinement steps
StatFree frees the storage of the fields panel_histo, utime and ops.
ARGUMENTS
SuperLUStat_t *stat (input/output)
On entry, stat points to a SuperLUStat_t structure. On exit,
storage of panel_histo, utime and ops is freed.
COPYRIGHT
Copyright (c) 2003, The Regents of the University of California,
through Lawrence Berkeley National Laboratory (subject to receipt of
any required approvals from U.S. Dept. of Energy)
SEE ALSO
StatInit
LUFactTime
LUSolveTime
LUFactFlops
LUSolveFlops
SuperMatrix
http://crd.lbl.gov/~xiaoye/SuperLU/
James W. Demmel, Stanley C. Eisenstat, John R. Gilbert, Xiaoye S. Li
and Joseph W. H. Liu, "A supernodal approach to sparse partial pivot‐
ing", SIAM J. Matrix Analysis and Applications, Vol. 20, Num. 3, 1999,
pp. 720-755.
6 Mar 2009 StatInit(3P)