HPCC-12215 Roxie record counts missing from child queries

Create the stats gatherer sooner.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-12215 Roxie record counts missing from child queries

Update the wu stats in the activirty destructor rather than the reset - this
will be much more efficient for child queries.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #6513 from richardkchapman/roxie-child-stats2

HPCC-12215 Roxie record counts missing from child queries

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
HPCC-11072 Add total time for roxie and hthor

The existing code calculates "Total thor time" for thor
cluster by adding all of graph times togethor. In this
fix, similar to the "Total thor time" for thor, "Total
cluster time" is calculated for both roxie and hthor.
Both "Total thor time" and "Total cluster time" are
reported inside the WsWorkunits.WUINfo response using
new name: "TotalClusterTime".

Signed-off-by: wangkx <kevin.wang@lexisnexis.com>