Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Teuchos_CTimeMonitor.h
Go to the documentation of this file.
1 // @HEADER
2 // *****************************************************************************
3 // Teuchos: Common Tools Package
4 //
5 // Copyright 2004 NTESS and the Teuchos contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9 
10 #ifndef TEUCHOS_CTIMEMONITOR_H
11 #define TEUCHOS_CTIMEMONITOR_H
12 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
40 int Teuchos_startTimer( char timerName[], int timerID );
41 
57 void Teuchos_stopTimer( int timerID );
58 
59 #ifdef __cplusplus
60 } /* extern "C" */
61 #endif
62 
63 #endif /* TEUCHOS_CTIMEMONITOR_H */
void Teuchos_stopTimer(int timerID)
Stop a timer that was started with Teuchos_startTimer().
int Teuchos_startTimer(char timerName[], int timerID)
Start a timer with a given name and ID.