llir-opt
0.0.1
Low-Level Post-Link Optimiser for OCaml and C
Main Page
Namespaces
Namespace List
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Typedefs
Enumerations
Enumerator
Related Functions
Files
File List
•
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Pages
tools
llir-reducer
timeout.h
1
// This file if part of the llir-opt project.
2
// Licensing information can be found in the LICENSE file.
3
// (C) 2018 Nandor Licker. All rights reserved.
4
5
#pragma once
6
7
#include <chrono>
8
9
10
14
class
Timeout
{
15
public
:
17
Timeout
(
unsigned
seconds);
18
20
operator
bool ()
const
;
21
22
private
:
24
unsigned
seconds_;
26
std::chrono::system_clock::time_point end_;
27
};
Timeout::Timeout
Timeout(unsigned seconds)
Initialise the timeout to now + seconds.
Definition:
timeout.cpp:10
Timeout
Definition:
timeout.h:14
Generated by
1.8.17