kerneltest/e32test/misc/t_tmout.cpp
branchRCL_3
changeset 43 c1f20ce4abcf
parent 0 a41df078684a
child 44 3e88ff8f41d5
equal deleted inserted replaced
42:a179b74831c9 43:c1f20ce4abcf
   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 	}