os/kernelhwsrv/kernel/eka/include/nkernsmp/highrestimer.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     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