root/opal/mca/timer/base/timer_base_null.h

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. opal_timer_base_get_cycles
  2. opal_timer_base_get_usec
  3. opal_timer_base_get_freq

   1 /*
   2  * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
   3  *                         University Research and Technology
   4  *                         Corporation.  All rights reserved.
   5  * Copyright (c) 2004-2005 The University of Tennessee and The University
   6  *                         of Tennessee Research Foundation.  All rights
   7  *                         reserved.
   8  * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
   9  *                         University of Stuttgart.  All rights reserved.
  10  * Copyright (c) 2004-2005 The Regents of the University of California.
  11  *                         All rights reserved.
  12  * $COPYRIGHT$
  13  *
  14  * Additional copyrights may follow
  15  *
  16  * $HEADER$
  17  */
  18 
  19 #ifndef OPAL_MCA_TIMER_BASE_TIMER_BASE_NULL_H
  20 #define OPAL_MCA_TIMER_BASE_TIMER_BASE_NULL_H
  21 
  22 typedef int opal_timer_t;
  23 
  24 static inline opal_timer_t
  25 opal_timer_base_get_cycles(void)
  26 {
  27     return 0;
  28 }
  29 
  30 
  31 static inline opal_timer_t
  32 opal_timer_base_get_usec(void)
  33 {
  34     return 0;
  35 }
  36 
  37 
  38 static inline opal_timer_t
  39 opal_timer_base_get_freq(void)
  40 {
  41     return 0;
  42 }
  43 
  44 
  45 #define OPAL_TIMER_CYCLE_NATIVE 0
  46 #define OPAL_TIMER_CYCLE_SUPPORTED 0
  47 #define OPAL_TIMER_USEC_NATIVE 0
  48 #define OPAL_TIMER_USEC_SUPPORTED 0
  49 
  50 #endif

/* [<][>][^][v][top][bottom][index][help] */