From 0345245e860375a32c9a437c4a9d9cae807134e9 Mon Sep 17 00:00:00 2001 From: Shashank Date: Mon, 29 May 2017 12:40:26 +0530 Subject: CMSCOPE changed --- usr/include/umfpack_tictoc.h | 45 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100755 usr/include/umfpack_tictoc.h (limited to 'usr/include/umfpack_tictoc.h') diff --git a/usr/include/umfpack_tictoc.h b/usr/include/umfpack_tictoc.h new file mode 100755 index 000000000..b79f7c227 --- /dev/null +++ b/usr/include/umfpack_tictoc.h @@ -0,0 +1,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) +*/ -- cgit