kerneltest/e32test/realtime/t_lat2.cpp
branchRCL_3
changeset 257 3e88ff8f41d5
parent 256 c1f20ce4abcf
equal deleted inserted replaced
256:c1f20ce4abcf 257:3e88ff8f41d5
   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 	volatile TInt forever = 1;
   113 	FOREVER
   114 	while(forever)
       
   115 		{
   114 		{
   116 		User::WaitForAnyRequest();
   115 		User::WaitForAnyRequest();
   117 		l.GetResults(results);
   116 		l.GetResults(results);
   118 		Latencies.Update(results);
   117 		Latencies.Update(results);
   119 		}
   118 		}
   120 	return 0;
   119 	return r;
   121 	}
   120 	}
   122 
   121 
   123 void GetLatencies(SFullLatencyResults& aResults)
   122 void GetLatencies(SFullLatencyResults& aResults)
   124 	{
   123 	{
   125 	FOREVER
   124 	FOREVER