File tree Expand file tree Collapse file tree 4 files changed +8
-2
lines changed
SerialPrograms/Source/CommonFramework Expand file tree Collapse file tree 4 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ namespace PokemonAutomation{
2525
2626const bool IS_BETA_VERSION = true ;
2727const int PROGRAM_VERSION_MAJOR = 0 ;
28- const int PROGRAM_VERSION_MINOR = 54 ;
29- const int PROGRAM_VERSION_PATCH = 32 ;
28+ const int PROGRAM_VERSION_MINOR = 55 ;
29+ const int PROGRAM_VERSION_PATCH = 1 ;
3030
3131const std::string PROGRAM_VERSION_BASE =
3232 " v" + std::to_string(PROGRAM_VERSION_MAJOR) +
Original file line number Diff line number Diff line change @@ -53,6 +53,8 @@ std::string StatsTracker::to_str(PrintMode mode) const{
5353 }
5454 case ALWAYS_HIDDEN:
5555 switch (mode){
56+ case DUMP:
57+ break ;
5658 case DISPLAY_ON_SCREEN:
5759 continue ;
5860 case SAVE_TO_STATS_FILE:
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ class StatsTracker{
2424 virtual ~StatsTracker () = default ;
2525
2626 enum PrintMode{
27+ DUMP,
2728 DISPLAY_ON_SCREEN,
2829 SAVE_TO_STATS_FILE,
2930 };
Original file line number Diff line number Diff line change @@ -73,6 +73,9 @@ AsyncDispatcher& ProgramEnvironment::realtime_inference_dispatcher(){
7373
7474void ProgramEnvironment::update_stats (){
7575 m_session.report_stats_changed ();
76+ if (m_current_stats){
77+ m_logger.log (" Current Stats: " + m_current_stats->to_str (StatsTracker::PrintMode::DUMP));
78+ }
7679}
7780
7881
You can’t perform that action at this time.
0 commit comments