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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
15 // WARNING: This file contains some APIs which are internal and are subject
16 // to change without notice. Such APIs should therefore not be used
17 // outside the Kernel and Hardware Services package.
20 #ifndef __EMIEVENTS_H__
21 #define __EMIEVENTS_H__
27 Defines the format of a task event record.
29 An item of this type is passed to:
31 -# EMI::GetTaskEvent()
32 -# EMI::AddTaskEvent()
34 struct TTaskEventRecord
37 Defines the type of event:
49 Bit 0 - Events have been lost before this event. (All types)
50 Bit 1 - Previous thread is now waiting. (Reschedule only)
56 This has no use in reschedule events, but may be used by other event types.
62 The state variable at the time of the event, which will
63 probably indicate the clock frequency at the time of the event.
69 The time that the event occurred.
71 The units are defined by the GET_HIGH_RES_TICK macro.
77 The NThread that was executing before the switch.
83 The NThread that was executing after the switch.
88 const TUint8 KTskEvtFlag_EventLost =1;
89 const TUint8 KTskEvtFlag_PrevWaiting=2;