/usr/include/suitesparse/umfpack_tictoc.h is in libsuitesparse-dev 1:4.2.1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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)
*/
|