Skip to content

Commit

Permalink
HPCC-32947 Capture and report lookahead timings for project
Browse files Browse the repository at this point in the history
The modification records time spent in the strands as lookahead
timing.  This is necessary to ensure the local execute timings
for project and upstream activities are correct.

Ideally, this lookahead timings would be recorded a separate
statistic such as "background activity".  However, a new
statistic will not be created at this time to avoid complicating
the statistics.

Signed-off-by: Shamser Ahmed <shamser.ahmed@lexisnexis.com>
  • Loading branch information
shamser committed Nov 5, 2024
1 parent 0e602df commit 14ea038
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thorlcr/activities/project/thprojectslave.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class CProjecStrandProcessor : public CThorStrandProcessor
}
STRAND_CATCH_NEXTROW()
{
ActivityTimer t(slaveTimerStats, timeActivities);
LookAheadTimer t(parent.slaveTimerStats, timeActivities);
for (;;)
{
if (parent.queryAbortSoon())
Expand Down

0 comments on commit 14ea038

Please sign in to comment.