kerneltest/e32test/misc/t_tmout.cpp
changeset 121 661475905584
parent 0 a41df078684a
child 257 3e88ff8f41d5
equal deleted inserted replaced
120:b42b9ce90ea9 121:661475905584
   130 	TUint32 interval = (KTimeout * Calibration + 512)/1024;
   130 	TUint32 interval = (KTimeout * Calibration + 512)/1024;
   131 	test.Printf(_L("Interval %d"), interval);
   131 	test.Printf(_L("Interval %d"), interval);
   132 	RandomSignalInterval = interval;
   132 	RandomSignalInterval = interval;
   133 	RandomSignalCount = interval;
   133 	RandomSignalCount = interval;
   134 
   134 
   135 	FOREVER
   135 	volatile TInt forever = 1;
       
   136 	while(forever)
   136 		{
   137 		{
   137 		test.Printf(_L("Total: %8d Timeout: %8d Bad: %4d Bad0: %4d Bad1: %4d\n"), TotalCount, TimeoutCount, BadCount, Bad0Count, Bad1Count);
   138 		test.Printf(_L("Total: %8d Timeout: %8d Bad: %4d Bad0: %4d Bad1: %4d\n"), TotalCount, TimeoutCount, BadCount, Bad0Count, Bad1Count);
   138 		User::After(1000000);
   139 		User::After(1000000);
   139 		}
   140 		}
   140 
       
   141 
       
   142 	return 0;
   141 	return 0;
   143 	}
   142 	}