From 71d3b5105c000eb97b4fe1b09ee1e4f3e5b71e4b Mon Sep 17 00:00:00 2001 From: Gavin Halliday Date: Thu, 4 Jan 2024 10:48:47 +0000 Subject: [PATCH] HPCC-29790 Use the new stage and operation prefixes where appropriate Signed-off-by: Gavin Halliday --- ecl/eclcc/eclcc.cpp | 6 +++--- ecl/hql/hqlexpr.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ecl/eclcc/eclcc.cpp b/ecl/eclcc/eclcc.cpp index 0752ce6c3be..aba4755e388 100644 --- a/ecl/eclcc/eclcc.cpp +++ b/ecl/eclcc/eclcc.cpp @@ -1411,7 +1411,7 @@ void EclCC::processSingleQuery(const EclRepositoryManager & localRepositoryManag if (exportDependencies || optMetaLocation) parseCtx.nestedDependTree.setown(createPTree("Dependencies", ipt_fast)); - addTimeStamp(instance.wu, SSTstage, "compile:parse", StWhenStarted); + addTimeStamp(instance.wu, SSTstage, "compile:>parse", StWhenStarted); try { HqlLookupContext ctx(parseCtx, &errorProcessor, instance.dataServer); @@ -1464,10 +1464,10 @@ void EclCC::processSingleQuery(const EclRepositoryManager & localRepositoryManag unsigned __int64 parseTimeNs = cycle_to_nanosec(get_cycles_now() - startCycles); instance.stats.parseTime = (unsigned)nanoToMilli(parseTimeNs); - updateWorkunitStat(instance.wu, SSTstage, "compile:parse", StTimeElapsed, NULL, parseTimeNs); + updateWorkunitStat(instance.wu, SSTstage, "compile:>parse", StTimeElapsed, NULL, parseTimeNs); stat_type sourceDownloadTime = localRepositoryManager.getStatistic(StTimeElapsed); if (sourceDownloadTime) - updateWorkunitStat(instance.wu, SSTstage, "compile:parse:download", StTimeElapsed, NULL, sourceDownloadTime); + updateWorkunitStat(instance.wu, SSTstage, "compile:>parse:>download", StTimeElapsed, NULL, sourceDownloadTime); if (optExtraStats) { diff --git a/ecl/hql/hqlexpr.cpp b/ecl/hql/hqlexpr.cpp index 7d6923907cb..7d736176355 100644 --- a/ecl/hql/hqlexpr.cpp +++ b/ecl/hql/hqlexpr.cpp @@ -1464,7 +1464,7 @@ void HqlLookupContext::reportTiming(const char * name) __uint64 localTime = cycle_to_nanosec(elapsedCycles - childCycles); StringBuffer scope; - scope.append("compiler::parse::").append(name); + scope.append("compile:>parse:>").append(name); parseCtx.statsTarget.addStatistic(SSTstage, scope, StTimeTotalExecute, nullptr, totalTime, 1, 0, StatsMergeSum); parseCtx.statsTarget.addStatistic(SSTstage, scope, StTimeLocalExecute, nullptr, localTime, 1, 0, StatsMergeSum);