| 1 |
/* |
| 2 |
* Copyright(C) 1999-2020 National Technology & Engineering Solutions |
| 3 |
* of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with |
| 4 |
* NTESS, the U.S. Government retains certain rights in this software. |
| 5 |
* |
| 6 |
* See packages/seacas/LICENSE for details |
| 7 |
*/ |
| 8 |
|
| 9 |
/* Switchable timer routine */ |
| 10 |
double lanc_seconds(void) |
| 11 |
{ |
| 12 |
extern int LANCZOS_TIME; /* perform detailed timing on Lanczos_SO? */ |
| 13 |
double seconds(void); |
| 14 |
|
| 15 |
if (LANCZOS_TIME) { |
| 16 |
return (seconds()); |
| 17 |
} |
| 18 |
|
| 19 |
return (0); |
| 20 |
} |