Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Timing.h File Reference
#include <sys/time.h>
#include "rfc_basic.h"
Include dependency graph for Timing.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

RFC_BEGIN_NAME_SPACE double get_wtime ()
 

Function Documentation

RFC_BEGIN_NAME_SPACE double get_wtime ( )
inline

Definition at line 33 of file Timing.h.

Referenced by RFC_Window_overlay::detect_features(), Transfer_base::interpolate_fe(), Transfer_base::loadtransfer(), Overlay::overlay(), Interpolator::transfer(), Transfer_base::transfer_2f(), and Transfer_base::transfer_2n().

33  {
34  ::timeval tv;
35  gettimeofday( &tv, NULL);
36 
37  return tv.tv_sec + tv.tv_usec*1.e-6;
38 }

Here is the caller graph for this function: