| 
    ARGOBOTS
    dce6e727ffc4ca5b3ffc04cb9517c6689be51ec5
    
   | 
 
 
 
 
Go to the documentation of this file.
   64 #ifndef ABT_CONFIG_ENABLE_VER_20_API 
  108 #ifndef ABT_CONFIG_ENABLE_VER_20_API 
  118     memcpy(p_newtimer, p_timer, 
sizeof(
ABTI_timer));
 
  335     *secs += (end - start);
 
  374     const int iter = 5000;
 
  375     double secs, sum = 0.0;
 
  380     for (i = 0; i < iter; i++) {
 
  390     *overhead = sum / iter;
 
  407     *pp_newtimer = p_newtimer;
 
  
double ABT_get_wtime(void)
Get elapsed wall clock time.
 
static ABTI_timer * ABTI_timer_get_ptr(ABT_timer timer)
 
int ABT_timer_create(ABT_timer *newtimer)
Create a new timer.
 
int ABT_timer_free(ABT_timer *timer)
Free a timer.
 
static ABT_timer ABTI_timer_get_handle(ABTI_timer *p_timer)
 
#define ABTI_CHECK_ERROR(abt_errno)
 
int ABT_timer_get_overhead(double *overhead)
Obtain an overhead time of using ABT_timer.
 
int ABT_timer_dup(ABT_timer timer, ABT_timer *newtimer)
Duplicate a timer.
 
int ABT_timer_start(ABT_timer timer)
Start a timer.
 
#define ABT_ERR_MEM
Error code: Memory allocation failure.
 
int ABT_timer_stop(ABT_timer timer)
Stop a timer.
 
#define ABT_SUCCESS
Error code: the routine returns successfully.
 
struct ABT_timer_opaque * ABT_timer
Timer handle type.
 
double ABTD_time_read_sec(ABTD_time *p_time)
 
#define ABTI_CHECK_NULL_TIMER_PTR(p)
 
void ABTD_time_get(ABTD_time *p_time)
 
#define ABTI_UB_ASSERT(cond)
 
int ABT_timer_stop_and_add(ABT_timer timer, double *secs)
Stop a timer and add an elapsed time of a timer.
 
#define ABTI_CHECK_TRUE(cond, abt_errno)
 
int ABT_timer_read(ABT_timer timer, double *secs)
Read the elapsed time of the timer.
 
static ABTU_ret_err int timer_alloc(ABTI_timer **pp_newtimer)
 
static double ABTI_get_wtime(void)
 
int ABT_timer_stop_and_read(ABT_timer timer, double *secs)
Stop a timer and read an elapsed time of a timer.