GHOST  1.1.2
General, Hybrid, and Optimized Sparse Toolkit
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
timing.c File Reference
#include <stdlib.h>
#include <time.h>
#include <errno.h>
#include "ghost/timing.h"
#include "ghost/func_util.h"
Include dependency graph for timing.c:

Macros

#define _XOPEN_SOURCE   600
 

Functions

ghost_error ghost_timing_start ()
 
ghost_error ghost_timing_elapsed (double *time)
 
ghost_error ghost_timing_wc (double *time)
 Get the wallclock time in seconds. More...
 
ghost_error ghost_timing_wcmilli (double *time)
 Get the wallclock time in milliseconds. More...
 

Variables

static double start_time
 

Macro Definition Documentation

#define _XOPEN_SOURCE   600

Function Documentation

ghost_error ghost_timing_elapsed ( double *  time)

Here is the call graph for this function:

ghost_error ghost_timing_start ( )

Here is the call graph for this function:

ghost_error ghost_timing_wc ( double *  time)

Get the wallclock time in seconds.

Parameters
timeWhere to store the time.
Returns
GHOST_SUCCESS on success or an error indicator.
ghost_error ghost_timing_wcmilli ( double *  time)

Get the wallclock time in milliseconds.

Parameters
timeWhere to store the time.
Returns
GHOST_SUCCESS on success or an error indicator.

Variable Documentation

double start_time
static