|
Inferno
0.2
|
#include <hit_count.hpp>
Classes | |
| struct | Category |
Public Member Functions | |
| void | Hit (string file, unsigned line, string function, const Traceable *caller_this) |
| void | Usage () |
| void | Check () |
| void | Dump () |
| void | SetStep (int i) |
| int | GetStep () |
Static Public Member Functions | |
| static void | Enable (bool e) |
| enable/disable hit counting, only for top level function to call, overridden by flags | |
| static bool | IsEnabled () |
Static Public Attributes | |
| static HitCount | instance |
Definition at line 8 of file hit_count.hpp.
| void HitCount::Check | ( | ) |
Definition at line 64 of file hit_count.cpp.
References ReadArgs::hits_format, and Usage().
Referenced by main().
| void HitCount::Dump | ( | ) |
Definition at line 72 of file hit_count.cpp.
References FOREACH, ReadArgs::hits_format, and Usage().
Referenced by main().
| void HitCount::Enable | ( | bool | e | ) | [static] |
enable/disable hit counting, only for top level function to call, overridden by flags
Definition at line 122 of file hit_count.cpp.
Referenced by main().
| int HitCount::GetStep | ( | ) | [inline] |
Definition at line 52 of file hit_count.hpp.
| void HitCount::Hit | ( | string | file, |
| unsigned | line, | ||
| string | function, | ||
| const Traceable * | caller_this | ||
| ) | [inline] |
Definition at line 28 of file hit_count.hpp.
References HitCount::Category::file, HitCount::Category::function, HitCount::Category::instance, Map< KEY, DATA >::IsExist(), HitCount::Category::line, and HitCount::Category::step.
| static bool HitCount::IsEnabled | ( | ) | [inline, static] |
Definition at line 58 of file hit_count.hpp.
| void HitCount::SetStep | ( | int | i | ) | [inline] |
Definition at line 47 of file hit_count.hpp.
Referenced by main().
| void HitCount::Usage | ( | ) |
Definition at line 48 of file hit_count.cpp.
HitCount HitCount::instance [static] |
Definition at line 27 of file hit_count.hpp.
Referenced by main(), and Conjecture::~Conjecture().