kernel/eka/include/nkernsmp/highrestimer.h
changeset 43 96e5fb8b040d
equal deleted inserted replaced
-1:000000000000 43:96e5fb8b040d
       
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of the License "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // e32/include/nkernsmp/highrestimer.h
       
    15 // The highrestimer.h header file defines how to access the high resoltion
       
    16 // timer, if one is supported.  This file is used by default if the variant does
       
    17 // not export one to \epoc32\include\nkern. 
       
    18 // 
       
    19 //
       
    20 
       
    21 /**
       
    22  @file
       
    23  @internalTechnology
       
    24 */
       
    25 
       
    26 #ifndef __HIGHRESTIMER_H__
       
    27 #define __HIGHRESTIMER_H__
       
    28 
       
    29 /**
       
    30  * Macro indicating that a high resolution timer is supported.
       
    31  */
       
    32 //#define HAS_HIGH_RES_TIMER
       
    33 
       
    34 /**
       
    35  * Assembler macro to get the the current value of the high res timer and place
       
    36  * it in the specified register.
       
    37  */
       
    38 //#define GET_HIGH_RES_TICK_COUNT(Rd) ...
       
    39 
       
    40 /**
       
    41  * The frequency of the timer in Hz.
       
    42  */
       
    43 //const TInt KHighResTimerFrequency = ...
       
    44 
       
    45 /**
       
    46  * Macro indicating that the timer counts up if defined.
       
    47  */
       
    48 //#define HIGH_RES_TIMER_COUNTS_UP
       
    49 
       
    50 #endif