Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/caliper/controllers/RuntimeReportController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ class RuntimeReportController : public cali::ChannelController
)
: ChannelController(name, 0, initial_cfg)
{
std::string q_let = " let report.time=scale(sum#time.duration.ns,1e-9) ";
// Scale time. The "where report.l" hack ensures we only process records with
// a path region entry, in particular for the time percent calculation.
std::string q_let = " let report.time=scale(sum#time.duration.ns,1e-9),report.l=leaf() where report.l ";

// Query for first aggregation step in MPI mode (process-local aggregation)
std::string q_local = " select sum(report.time) group by path " + q_let;
Expand Down