{"repo":"daedric/commonpp","free":true,"listed":false,"github":"https://github.com/daedric/commonpp","clone":"git clone https://github.com/daedric/commonpp.git","description":"Small library helping you with basic stuff like getting metrics out of your code, thread naming, etc.","language":"C++","stars":31,"topics":["counter","metrics","tbb","reservoir","graphite","influxdb","threadpool","boost"],"license":"BSD-2-Clause","category":"analytics","readme_excerpt":"This reposiroty is being reworked a bit. The readme is not up to date: TBB is not required anymore and nor is there a metric library CommonPP commonpp is a multi purpose library easing very few operations like: Getting metrics out of your program (counter, gauge, statistical description of sample); Naming your threads (and have the custom name appearing in htop , top , gdb ); Have a really simple thread pool on top of boost::asio ; Quick setup of boost::log ; … License I chose the BSD 2-clause license, so the library can be used in any project, however I'd appreciate any bug fix, pull request and comment. Dependencies commonpp depends on Boost and TBB, a C++17 compiler and CMake to be built. It builds on Mac OS X and Linux. It probably build on BSD but I did not test (yet). Building $ make cmake $ make $ make test On windows commonpp can be built and used on windows. The prefered way is to use vcpkg . The required dependencies can be installed using the following command: $ .\\vcpkg.exe install boost:x64-windows tbb:x64-windows hwloc:x64-windows Then you can generate a Visual Studio solution giving the vcpkg toolchain file. Please note that only VS2017 has been tested. Also, static TBB installation cannot be done, so the DLL will need to be in the path to execute binaries depending on commonpp . Why? Although Boost and TBB are very complete low-level libraries, there are still basic features missing, the biggest being getting out metrics out of your code. commonpp will never r","default_branch":null,"files":null,"tree":[],"storefront":"/r/daedric","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/daedric/commonpp/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."}