mirror of
https://github.com/Z3Prover/z3
synced 2025-04-07 18:05:21 +00:00
34 lines
494 B
C++
34 lines
494 B
C++
/*++
|
|
Copyright (c) 2006 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
timeit.h
|
|
|
|
Abstract:
|
|
|
|
Support for timers.
|
|
|
|
Author:
|
|
|
|
Nikolaj Bjorner (nbjorner) 2006-09-22
|
|
|
|
Revision History:
|
|
|
|
Leonardo de Moura (leonardo) 2011-04-27
|
|
Rewrote using stopwatches, added support for tracking memory
|
|
|
|
--*/
|
|
#ifndef _TIMEIT_H_
|
|
#define _TIMEIT_H_
|
|
|
|
class timeit {
|
|
struct imp;
|
|
imp * m_imp;
|
|
public:
|
|
timeit(bool enable, char const * msg, std::ostream & out = std::cerr);
|
|
~timeit();
|
|
};
|
|
|
|
#endif
|