tlx
timestamp.hpp
Go to the documentation of this file.
1 /*******************************************************************************
2  * tlx/timestamp.hpp
3  *
4  * Part of tlx - http://panthema.net/tlx
5  *
6  * Copyright (C) 2019 Timo Bingmann <tb@panthema.net>
7  *
8  * All rights reserved. Published under the Boost Software License, Version 1.0
9  ******************************************************************************/
10 
11 #ifndef TLX_TIMESTAMP_HEADER
12 #define TLX_TIMESTAMP_HEADER
13 
14 namespace tlx {
15 
16 //! Returns number of seconds since the epoch, currently microsecond resolution.
17 double timestamp();
18 
19 } // namespace tlx
20 
21 #endif // !TLX_TIMESTAMP_HEADER
22 
23 /******************************************************************************/
double timestamp()
Returns number of seconds since the epoch, currently microsecond resolution.
Definition: timestamp.cpp:17