 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TrigTimeAlgs_TrigTimeStamp_h
6 #define TrigTimeAlgs_TrigTimeStamp_h
25 typedef std::chrono::high_resolution_clock::time_point
stamp_type;
82 #endif // TrigTimeAlgs_TrigTimeStamp_h
double millisecondsDifference(const TrigTimeStamp &other) const
stamp_type get() const
Obtain the stamp value.
double millisecondsSince() const
TrigTimeStamp()
Default constructor, sets to now.
std::chrono::high_resolution_clock::time_point stamp_type
utility class to measure time duration in AthenaMT The pattern when it is useful: AlgA tags the begin...
void set(stamp_type time=std::chrono::high_resolution_clock::now())
Update the stamp value.
constexpr std::enable_if_t< is_bitmask_v< E >, E & > set(E &lhs, E rhs)
Convenience function to set bits in a class enum bitmask.
uint64_t microsecondsSinceEpoch() const
def time(flags, cells_name, *args, **kw)
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
TrigTimeStamp(const TrigTimeStamp &)=default
Automatic copy constructor.
TrigTimeStamp & operator=(const TrigTimeStamp &)=default
Automatic copy assignemnt operator.
macros to associate a CLID to a type