equal
deleted
inserted
replaced
209 TRequestStatus displayedStatus; |
209 TRequestStatus displayedStatus; |
210 TTimeStamp dummyTimeStamp; |
210 TTimeStamp dummyTimeStamp; |
211 TInt framesDone=0; |
211 TInt framesDone=0; |
212 |
212 |
213 iUpdateSession.NotifyWhenAvailable(availabilityStatus); |
213 iUpdateSession.NotifyWhenAvailable(availabilityStatus); |
214 TESTL(KErrNone==iUpdateSession.SubmitUpdate(KSgScreenIdMain, iImgCol.SurfaceId(), 0)); |
214 TESTL(KErrNone==iUpdateSession.SubmitUpdate(KAllScreens, iImgCol.SurfaceId(), 0)); |
215 |
215 |
216 // uibench, needs more than 50 results for the trimmed mean, so repeat as required. |
216 // uibench, needs more than 50 results for the trimmed mean, so repeat as required. |
217 while(framesDone < KMinFrames) |
217 while(framesDone < KMinFrames) |
218 { |
218 { |
219 iTextPos = -iTextPhraseLength; // enter stage left |
219 iTextPos = -iTextPhraseLength; // enter stage left |
229 iUpdateSession.NotifyWhenAvailable(availabilityStatus); |
229 iUpdateSession.NotifyWhenAvailable(availabilityStatus); |
230 iUpdateSession.NotifyWhenDisplayed(displayedStatus, dummyTimeStamp); |
230 iUpdateSession.NotifyWhenDisplayed(displayedStatus, dummyTimeStamp); |
231 |
231 |
232 // Start Timer & Submit Update |
232 // Start Timer & Submit Update |
233 iProfiler->StartTimer(); |
233 iProfiler->StartTimer(); |
234 TESTL(KErrNone==iUpdateSession.SubmitUpdate(KSgScreenIdMain, iImgCol.SurfaceId(), 0)); |
234 TESTL(KErrNone==iUpdateSession.SubmitUpdate(KAllScreens, iImgCol.SurfaceId(), 0)); |
235 |
235 |
236 // Wait for the update to have been displayed and stop the timer |
236 // Wait for the update to have been displayed and stop the timer |
237 User::WaitForRequest(displayedStatus); |
237 User::WaitForRequest(displayedStatus); |
238 iProfiler->MarkResultSetL(); |
238 iProfiler->MarkResultSetL(); |
239 framesDone++; |
239 framesDone++; |