dReal4
profiler.h
1
#pragma once
2
#include <chrono>
3
#include <iostream>
4
#include <string>
5
6
namespace
dreal
{
7
class
Profiler
{
8
public
:
9
explicit
Profiler
(std::string name, std::ostream& out = std::cerr);
10
Profiler
(
const
Profiler
&) =
delete
;
11
Profiler
(
Profiler
&&) =
delete
;
12
Profiler
& operator=(
const
Profiler
&) =
delete
;
13
Profiler
& operator=(
Profiler
&&) =
delete
;
14
~
Profiler
();
15
16
private
:
17
const
std::string name_;
18
std::ostream& out_;
19
const
std::chrono::high_resolution_clock::time_point begin_;
20
};
21
}
// namespace dreal
dreal::Profiler
Definition:
profiler.h:7
dreal
Sum type of symbolic::Expression and symbolic::Formula.
Definition:
api.cc:9
dreal
util
profiler.h
Generated by
1.8.13