Comments (2)
Hi @pelahi, currently the flat profiles are handled by timemory and the min/max/stddev is stored in a constant size data structure that does not require dynamic allocations: statistics.cpp.
In order to provide the requested functionality, it would have to effectively store every measurement because we wouldn't be able to bin the values until the min/max was established. Another way of explaining it is that we would need collect the full trace before condensing it into a flat profile during post-processing instead of condensing it into a flat profile on the fly. And that would significantly bloat the memory usage which is a non-starter since tracing at scale on supercomputers generates far too much data. So unfortunately, we will not be able to accommodate this request directly.
However, I've just finished work on integrating support for the perfetto trace format into a Python package called hatchet in hatchet/hatchet#501. This package will effectively translate the perfetto traces into a pandas dataframe and allow you to manipulate it into a flat profile and bin the measurements into however many percentiles you desire. Ideally, this capability could even be part of a omnitrace-analysis
Python package installable via PyPi with a console script omnitrace-analyze
which command-line-izes this functionality.
side note: hatchet already supports the JSON profiles generated by timemory.
from omnitrace.
As you can see in the hatchet docs for generating a flat profile, it is very straightforward to convert the trace to a flat profile and pandas has built-in capabilities for calculating the percentiles/quantiles (tutorial)
from omnitrace.
Related Issues (20)
- Command line multi-value passing style is not clear from help HOT 1
- Segmentation fault when using `omnitrace` for generating instrumented binary HOT 8
- Allow using external elfutils HOT 4
- Segfault when OMNITRACE_USE_ROCTX is true HOT 1
- Problem with flow event HOT 4
- GPU HW counter metrics broken in ROCm 5.4
- feature request - Energy profiling HOT 14
- Feature request: Move GPU trace closer to HIP+CPU activity HOT 1
- omnitrace user API HOT 11
- OpenMP offloading
- `omnitrace-avail` fails on ROCM 5.3 and RX 6800XT HOT 2
- Omnitrace hangs and prints errors while running STEMDL/stdfc with more than 1 GPU HOT 9
- Update Dyninst submodule
- Segmentation fault in multi-threaded code HOT 10
- omnitrace hangs before hostCallback function HOT 4
- Segmentation fault in sampling multi-processing code HOT 8
- Missing Information for some Memory Operations (host to device or device to host) HOT 2
- Slice has duration of "Did not end." HOT 10
- Missing GPU kernels when using @profile and -b flag HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from omnitrace.