1 /* ========================================================================== */
2 /* === umfpack_timer ======================================================== */
3 /* ========================================================================== */
4
5 /* -------------------------------------------------------------------------- */
6 /* Copyright (c) 2005-2012 by Timothy A. Davis, http://www.suitesparse.com. */
7 /* All Rights Reserved. See ../Doc/License.txt for License. */
8 /* -------------------------------------------------------------------------- */
9
10 /*
11 User-callable. Returns the time in seconds used by the process. BE
12 CAREFUL: if you compare the run time of UMFPACK with other sparse matrix
13 packages, be sure to use the same timer. See umfpack_timer.h for details.
14 See umfpack_tictoc.h, which is the timer used internally by UMFPACK.
15 */
16
17 #include "umfpack_timer.h"
18 #include "SuiteSparse_config.h"
19
umfpack_timer(void)20 double umfpack_timer ( void )
21 {
22 return (SuiteSparse_time ( )) ;
23 }
24