Update contrib.
1 // Copyright (c) 1998-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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // e32\nkern\x86\ncutilf.cpp
21 /** Get the current value of the high performance counter.
23 If a high performance counter is not available, this uses the millisecond
26 EXPORT_C TUint32 NKern::FastCounter()
28 return TickCount(); // not implemented for x86
32 /** Get the frequency of counter queried by NKern::FastCounter().
34 EXPORT_C TInt NKern::FastCounterFrequency()
36 return 1000000 / TickPeriod(); // not implemented for x86