Version: SMASH-1.8
chrono.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2013-2018
3
* SMASH Team
4
*
5
* GNU General Public License (GPLv3 or later)
6
*/
7
#ifndef SRC_INCLUDE_CHRONO_H_
8
#define SRC_INCLUDE_CHRONO_H_
9
10
#include <chrono>
11
19
namespace
smash
{
20
22
using
SystemTimePoint
= std::chrono::time_point<std::chrono::system_clock>;
23
25
using
SystemClock
= std::chrono::system_clock;
26
28
using
SystemTimeSpan
= SystemClock::duration;
29
30
}
// namespace smash
31
32
#endif // SRC_INCLUDE_CHRONO_H_
smash
Definition:
action.h:24
smash::SystemTimePoint
std::chrono::time_point< std::chrono::system_clock > SystemTimePoint
Type (alias) that is used to store the current time.
Definition:
chrono.h:22
smash::SystemClock
std::chrono::system_clock SystemClock
Type (alias) used to obtain the current time via SystemClock:Now().
Definition:
chrono.h:25
smash::SystemTimeSpan
SystemClock::duration SystemTimeSpan
The time duration type (alias) used for measuring run times.
Definition:
chrono.h:28
src
include
smash
chrono.h
Impressum
Data privacy protection
Generated on Tue Apr 7 2020 13:50:09 for SMASH by
Doxygen
1.8.16