kerneltest/e32test/realtime/t_lat2.cpp
branchRCL_3
changeset 256 c1f20ce4abcf
parent 0 a41df078684a
child 257 3e88ff8f41d5
equal deleted inserted replaced
249:a179b74831c9 256:c1f20ce4abcf
   108 	Mem::FillZ(&Latencies,sizeof(Latencies));
   108 	Mem::FillZ(&Latencies,sizeof(Latencies));
   109 	Main.RequestComplete(pS,0);
   109 	Main.RequestComplete(pS,0);
   110 	SLatencyResults results;
   110 	SLatencyResults results;
   111 
   111 
   112 	l.Start();
   112 	l.Start();
   113 	FOREVER
   113 	volatile TInt forever = 1;
       
   114 	while(forever)
   114 		{
   115 		{
   115 		User::WaitForAnyRequest();
   116 		User::WaitForAnyRequest();
   116 		l.GetResults(results);
   117 		l.GetResults(results);
   117 		Latencies.Update(results);
   118 		Latencies.Update(results);
   118 		}
   119 		}
   119 	return r;
   120 	return 0;
   120 	}
   121 	}
   121 
   122 
   122 void GetLatencies(SFullLatencyResults& aResults)
   123 void GetLatencies(SFullLatencyResults& aResults)
   123 	{
   124 	{
   124 	FOREVER
   125 	FOREVER