![]() |
GHOST
1.1.2
General, Hybrid, and Optimized Sparse Toolkit
|
#include <stdlib.h>
#include <time.h>
#include <errno.h>
#include "ghost/timing.h"
#include "ghost/func_util.h"
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 |
#define _XOPEN_SOURCE 600 |
ghost_error ghost_timing_elapsed | ( | double * | time | ) |
ghost_error ghost_timing_start | ( | ) |
ghost_error ghost_timing_wc | ( | double * | time | ) |
Get the wallclock time in seconds.
time | Where to store the time. |
ghost_error ghost_timing_wcmilli | ( | double * | time | ) |
Get the wallclock time in milliseconds.
time | Where to store the time. |
|
static |