Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/r-kan/semile

Profile what you care, monitor how it goes (support C/C++)
https://github.com/r-kan/semile

cpp-profile-library debugging-tool monitor profiler profiling-library

Last synced: 2 months ago
JSON representation

Profile what you care, monitor how it goes (support C/C++)

Lists

README

        

# semile :)
_\~Simpler way to profile and diagnose\~_ http://r-kan.github.io/semile/

2016/10/07: c interface is supported
2016/09/24: `semile` is refined with much more simpler use model!

# What is _semile_?
A profiling framework provides the ability to monitor programs, in general of any programming language, by the following two pieces of information:
* consumed time per execution
* 'footprint' debug message per execution

# Difference with other profiling tools?
* **_Profile 'semantically'_** Each call to the same function plays its individual role within profiling. Normal 'syntactic' profilers are good in other aspects but fail to achieve this.
* **_Lightweight_** The profiled program gives little run-time overhead. The viewer is compact that targets to provide only necessary information without fancy visual effect. It gives profile result in widespread PNG and XML format.
* **_Message-embedded profile_** Custom information can be left within profile elements. It then also provides the ability to help reveal internal state/decision inside the program.

P.S. The user-provided semantic specifications (via the profile library) is necessary for semantic profile

# System Requirement
python3 (viewer)
g++ (c/cpp profile library)

# Dependent Library
dot (graphviz)

# Use _semile_
profiler/cpp_library/src => check to see how to use cpp profile library
profiler/cpp_library/example => check to see an example using cpp profile library
profiler/c_interface/src => check to see how to use c profile interface
profiler/c_interface/example => check to see an example using c profile interface
viewer/README => check to see how to use `semile` viewer

# Contact
Please contact *Rodney Kan* by [email protected] for any question/request/bug without hesitation.

***
Find screenshots, tutorials, and more information at http://r-kan.github.io/semile/!