Stats collection and reporting micro-framework. It provides API and barebone for applications than run some code, collect stats and report.
For inspiration see fibonacci in example directory. Documentation in code describes main steps to your own stats collecting app.
Stator consists of StatsEngine
, Reporter
, Serializer
and helpers.
Barebone of stats collecting app. It provides command line options parsing and template method run()
. For you own app you must inherit StatsEngine
and override at least process()
method. See docs in engine.hpp for detailed description.
Сollector of stats and final result provider. Provides API for stats saving during run. For detailed description see reporter.hpp.
Serializer 😊 Now you have two options: plain text or JSON. All collected by Reporter
stats serialized by Serializer
to standard output. If you want to save stats to file, redirect output 😉
For now we have only YAML-config parser (see config.hpp). Some execution time measuring staff may be added in future.