{"repo":"iwanders/scalopus","free":true,"listed":false,"github":"https://github.com/iwanders/scalopus","clone":"git clone https://github.com/iwanders/scalopus.git","description":"A tracing framework for C++ and Python.","language":"C++","stars":67,"topics":["c-plus-plus","tracepoints","instrumentation","profiling","devtools-protocol","tracing","python","python3","lttng"],"license":"BSD-3-Clause","category":"analytics","readme_excerpt":"Scalopus This project provides a bridge to utilize [Catapult's Trace Viewer][catapult trace viewer] found inside Chrom(e/ium) to display traces from an instrumented C++ program. This project was inspired by [this][cppcon 2016 quest for performance] slide from the cppcon 2016 \"Rainbow Six Siege: Quest for Performance\" presentation. The main focus is on obtaining traces for each scope / stack frame of interest, this provides good information about where time is spent in the program. It requires instrumenting the source code of the program under inspection with tracepoints to indicate which scopes need to be tracked. To get the tracepoints out of the program there are two options [LTTng][lttng] can be used, minimal knowledge or interaction with LTTng is necessary to use Scalopus. Tracepoints can also be transfered over Scalopus' native transports, this elminates the need for LTTng, but is less performant. The system can be used from either Python 2 or 3 through the use of the Python bindings and the scalopus Python module. See the readme of the scalopus python folder for details. The trace viewer used is available in all recent Chrome and Chromium browsers and can be opened by typing [ chrome://inspect?tracing ][chrome tracing] in the address bar. This is normally used to display traces from Android or from within the browser itself. However, the trace viewer can also load traces from a remote target using the [Devtools Protocol][devtools protocol]'s tracing domain. The specific","default_branch":null,"files":null,"tree":[],"storefront":"/r/iwanders","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/iwanders/scalopus/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}