-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Significant overhaul to improve sampling + more
- created thread_info struct for mapping different thread IDs - reorganized many files - moved api.hpp and api.cpp - updated CMake in libomnitrace - added categories.hpp - added concepts.hpp - moved around name definitions - moved all omnitrace components into omnitrace::component namespace - there was a lot of inconsistency b/t using tim::component in some places and omnitrace::component - added macros like OMNITRACE_DECLARE_COMPONENT in lieu of TIMEMORY_DECLARE_COMPONENT - OMNITRACE_CRITICAL_TRACE_NUM_THREADS -> OMNITRACE_THREAD_POOL_SIZE - roctracer and critical_trace use same thread pool - critical_trace functions do not lock anymore bc of thread-local TaskGroup - added component::local_category_region to support using component::category_region without explicitly passing in name - removed component::omnitrace - removed component::user_region - removed component::functors - migrated Kokkos to use component::local_category_region - migrated OMPT to use component::local_category_region - migrated omnitrace_{push,pop}_{trace,region}_hidden to use component::category_region - migrated some ppdefs - api::omnitrace -> project::omnitrace - improved recording the execution time of threads - migrated this functionality out of pthread_create_gotcha and into thread_info - moved mpi_gotcha, fork_gotcha, exit_gotcha, rcclp into omnitrace::component namespace - split backtrace up into backtrace, backtrace_metrics, backtrace_timestamp components - sampling.cpp handles setup and post-processing that was formerly in backtrace - updated logging to use colors - OMNITRACE_COLORIZED_LOG config variable - updated docs on JSON output from timemory - instrumentation info in instrumentation subfolder - added testing for KokkosP entries - added testing for ompt entries - add_critical_trace function defined in critical_trace.hpp - disable push_thread_state and pop_thread_state when thread state is Disabled or Completed - add comp::page_rss to main bundle - thread_data supports std::optional instead of std::unique_ptr - thread_data supports tim::identity<T> to avoid unique_ptr or optional - tracing::record_thread_start_time() - tracing::push_timemory and tracing::pop_timemory are templated on CategoryT - removed anonymous namespace from omnitrace::utility - sampling backtrace stores instruction pointers instead of strings - component::category_region updates - handle disabled thread state - handle finalized state - fewer debug messages - invoke thread_init() - invoke thread_init_sampling() - handle push/pop count based on category - push/pop count only modified when used - component::cpu_freq - components/ensure_storage.hpp - reworked the pthread_create replacement function - updated parallel-overhead example to report # of times locked - OMNITRACE_MAX_UNWIND_DEPTH build option - update timemory submodule
- Loading branch information
Showing
93 changed files
with
3,758 additions
and
2,716 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.