equal
deleted
inserted
replaced
1 // Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
14 // |
14 // |
15 |
15 |
16 |
16 |
17 |
17 |
18 // INCLUDE FILES |
18 // INCLUDE FILES |
19 |
|
20 #include "OstTraceDefinitions.h" |
|
21 #ifdef OST_TRACE_COMPILER_IN_USE |
|
22 #include "CResponseTimerTraces.h" |
|
23 #endif |
|
24 |
|
25 #include "CResponseTimer.h" |
19 #include "CResponseTimer.h" |
26 #include "cmmphonetsy.h" |
20 #include "cmmphonetsy.h" |
27 #include "CResponseTimerStore.h" |
21 #include "CResponseTimerStore.h" |
28 #include "MmTsy_timeoutdefs.h" |
22 #include "MmTsy_timeoutdefs.h" |
|
23 #include <ctsy/tflogger.h> |
29 |
24 |
30 #ifdef REQHANDLE_TIMER |
25 #ifdef REQHANDLE_TIMER |
31 |
26 |
32 // ======== MEMBER FUNCTIONS ======== |
27 // ======== MEMBER FUNCTIONS ======== |
33 |
28 |
119 CResponseTimerStore::CTableEntry *aEntry = |
114 CResponseTimerStore::CTableEntry *aEntry = |
120 iPhone->GetTimeStampStore()->GetEntry( index ); |
115 iPhone->GetTimeStampStore()->GetEntry( index ); |
121 //if the entry is expired, complete and delete it |
116 //if the entry is expired, complete and delete it |
122 if ( aEntry->GetTimeStamp() <= iBeatCounter ) |
117 if ( aEntry->GetTimeStamp() <= iBeatCounter ) |
123 { |
118 { |
124 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CRESPONSETIMER_BEAT_1, "TSY: Request completed due timer expiration, IPC: %d", aEntry->GetIPC() ); |
119 TFLOGSTRING2("TSY: Request completed due timer expiration, IPC: %d", aEntry->GetIPC() ); |
125 |
120 |
126 //call completion of the request due expired timer |
121 //call completion of the request due expired timer |
127 iPhone->TimerExpired( aEntry->GetUserObject(), |
122 iPhone->TimerExpired( aEntry->GetUserObject(), |
128 aEntry->GetHandleType(), |
123 aEntry->GetHandleType(), |
129 aEntry->GetIPC() ); |
124 aEntry->GetIPC() ); |