Muster
 All Classes Namespaces Files Functions Variables Typedefs Macros
timing.h
Go to the documentation of this file.
1 #ifndef TIMING_H
2 #define TIMING_H
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif // __cplusplus
7 
8  /// Size for timings reported by get_time_ns.
9  typedef unsigned long long timing_t;
10 
11 
12  /// This is defined differently depending on compile-time timing options
13  /// and on the platform we're using. It returns a current time stamp in
14  /// nanoseconds using the most precise timing mechanism available on
15  /// the host machine.
16  timing_t get_time_ns();
17 
18 #ifdef __cplusplus
19 }
20 #endif // __cplusplus
21 
22 #endif // TIMING_H
unsigned long long timing_t
Size for timings reported by get_time_ns.
Definition: timing.h:9
timing_t get_time_ns()
This is defined differently depending on compile-time timing options and on the platform we're using...
Muster. Copyright © 2010, Lawrence Livermore National Laboratory, LLNL-CODE-433662.
Distribution of Muster and its documentation is subject to terms of the Muster LICENSE.
Generated on Thu Sep 1 2016 using Doxygen 1.8.5