All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
WcPolicy.h
Go to the documentation of this file.
1 //=================================================================================================
20 //=================================================================================================
21 
22 #ifndef _BLAZE_UTIL_TIMING_WCPOLICY_H_
23 #define _BLAZE_UTIL_TIMING_WCPOLICY_H_
24 
25 
26 //*************************************************************************************************
27 // Includes
28 //*************************************************************************************************
29 
30 #include <blaze/util/Time.h>
31 
32 
33 namespace blaze {
34 
35 namespace timing {
36 
37 //=================================================================================================
38 //
39 // CLASS DEFINITION
40 //
41 //=================================================================================================
42 
43 //*************************************************************************************************
51 struct WcPolicy
52 {
53  public:
54  //**Timing functions****************************************************************************
57  static inline double getTimestamp();
59  //**********************************************************************************************
60 };
61 //*************************************************************************************************
62 
63 
64 
65 
66 //=================================================================================================
67 //
68 // TIMING FUNCTIONS
69 //
70 //=================================================================================================
71 
72 //*************************************************************************************************
77 inline double WcPolicy::getTimestamp()
78 {
79  return getWcTime();
80 }
81 //*************************************************************************************************
82 
83 } // timing
84 
85 } // blaze
86 
87 #endif