All Downloads are FREE. Search and download functionalities are using the official Maven repository.

z3-z3-4.12.6.src.util.timeit.h Maven / Gradle / Ivy

There is a newer version: 4.13.0.1
Show newest version
/*++
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

--*/
#pragma once

#include

class timeit {
    struct imp;
    imp *  m_imp;
public:
    timeit(bool enable, char const * msg, std::ostream * out = nullptr);
    timeit(bool enable, char const * msg, std::ostream & out) : timeit(enable, msg, &out) {}
    ~timeit();
};





© 2015 - 2024 Weber Informatics LLC | Privacy Policy