charmplusplus / projections

Performance Analysis Tool for Charm++
Apache License 2.0
5 stars 3 forks source link

Bracketed User Events Track Numerical Values #49

Open pplimport opened 7 years ago

pplimport commented 7 years ago

Original author: Nils Deppe (@nilsdeppe) Original issue: https://charm.cs.illinois.edu/redmine/issues/1525


It would be really useful to be able to pass a vector<double> to the traceUserBracketedEvent function to record various numbers during runtime. These could, for example, be PAPI counters. It might make sense to ASSERT the size of all vectors for a specific event number are the same, but it could be considered a feature to let them be different.

This feature would be even more useful if analysis of the numerical values stored was possible, say average, outlier, max, min, etc.

rbuch commented 5 years ago

Original date: 2017-07-11 20:29:40


Agreed, being able to provide data and use a vector would be useful. In the mean time, we have a tracing method called user stats (http://charm.cs.illinois.edu/manuals/html/charm++/E.html#SECTION05524000000000000000), which lets you provide values at runtime and computes some statistics (min/max/sum/avg) at analysis time.