Re: [PATCH] rt-tests: hackbench: fix for uninitialized start time

2013-12-12 Thread Clark Williams
On Thu, 12 Dec 2013 16:47:19 +0200 Ciprian Barbu wrote: > Hello, > > While playing around with hackbench I discovered that I would sometimes > get an enormous time reported, even if the run time would be less than a > second or so. The problem was that the struct timeval start was not > initi

[PATCH] rt-tests: hackbench: fix for uninitialized start time

2013-12-12 Thread Ciprian Barbu
Hello, While playing around with hackbench I discovered that I would sometimes get an enormous time reported, even if the run time would be less than a second or so. The problem was that the struct timeval start was not initialized until after all children have been created. But if the progra