blob: b79f7c227edc027138ca008604ba4ea60cd3f504 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
/* ========================================================================== */
/* === umfpack_tictoc ======================================================= */
/* ========================================================================== */
/* -------------------------------------------------------------------------- */
/* Copyright (c) 2005-2012 by Timothy A. Davis, http://www.suitesparse.com. */
/* All Rights Reserved. See ../Doc/License for License. */
/* -------------------------------------------------------------------------- */
void umfpack_tic (double stats [2]) ;
void umfpack_toc (double stats [2]) ;
/*
Syntax (for all versions: di, dl, zi, and zl):
#include "umfpack.h"
double stats [2] ;
umfpack_tic (stats) ;
...
umfpack_toc (stats) ;
Purpose:
umfpack_tic returns the wall clock time.
umfpack_toc returns the wall clock time since the
last call to umfpack_tic with the same stats array.
Typical usage:
umfpack_tic (stats) ;
... do some work ...
umfpack_toc (stats) ;
then stats [0] contains the elapsed wall clock time in seconds between
umfpack_tic and umfpack_toc.
Arguments:
double stats [2]:
stats [0]: wall clock time, in seconds
stats [1]: (same; was CPU time in prior versions)
*/
|