LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
StopWatch.h File Reference

Class to take current wall clock time differences. More...

#include <cstdint>
#include <chrono>
#include <ratio>
#include <type_traits>

Go to the source code of this file.

Classes

struct  testing::details::isDuration< Duration >
 Type trait containing whether Duration is std::chrono::duration. More...
 
class  testing::StopWatch< DefaultUnit, Clock >
 Provides time interval measurements. More...
 
struct  testing::StopWatch< DefaultUnit, Clock >::makeDurationTrait< typename >
 Trait whose type member is a std::chrono::duration type. More...
 
struct  testing::details::isDuration< Duration >
 Type trait containing whether Duration is std::chrono::duration. More...
 
struct  testing::details::isDuration< std::chrono::duration< Rep, Period > >
 
struct  testing::StopWatch< DefaultUnit, Clock >::makeDurationTrait< std::chrono::duration< Rep, Duration > >
 
struct  testing::StopWatch< DefaultUnit, Clock >::makeDurationTrait< std::ratio< Num, Den > >
 

Namespaces

 testing
 LArSoft test utilities.
 
 testing::details
 

Typedefs

using testing::StandardStopWatch = StopWatch<>
 A StopWatch with default template arguments. More...
 

Detailed Description

Class to take current wall clock time differences.

Author
Gianluca Petrillo (petri.nosp@m.llo@.nosp@m.fnal..nosp@m.gov)
Date
July 3, 2016

This is a pure header library.

It provides its namesake class, testing::StopWatch.

Definition in file StopWatch.h.