os/kernelhwsrv/kernel/eka/include/nkern/highrestimer.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 // Copyright (c) 2005-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 // The highrestimer.h header file defines how to access the high resoltion
    15 // timer, if one is supported.  This file is used by default if the variant does
    16 // not export one to \epoc32\include\nkern. 
    17 // 
    18 //
    19 
    20 /**
    21  @file
    22  @internalTechnology
    23 */
    24 
    25 #ifndef __HIGHRESTIMER_H__
    26 #define __HIGHRESTIMER_H__
    27 
    28 /**
    29  * Macro indicating that a high resolution timer is supported.
    30  */
    31 //#define HAS_HIGH_RES_TIMER
    32 
    33 /**
    34  * Assembler macro to get the the current value of the high res timer and place
    35  * it in the specified register.
    36  */
    37 //#define GET_HIGH_RES_TICK_COUNT(Rd) ...
    38 
    39 /**
    40  * The frequency of the timer in Hz.
    41  */
    42 //const TInt KHighResTimerFrequency = ...
    43 
    44 /**
    45  * Macro indicating that the timer counts up if defined.
    46  */
    47 //#define HIGH_RES_TIMER_COUNTS_UP
    48 
    49 #endif