MCPcopy Create free account
hub / github.com/SoarGroup/Soar / reset_max_stats

Function reset_max_stats

Core/SoarKernel/src/init_soar.cpp:410–428  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

408}
409
410void reset_max_stats(agent* thisAgent)
411{
412 thisAgent->max_dc_production_firing_count_cycle = 0;
413 thisAgent->max_dc_production_firing_count_value = 0;
414 thisAgent->max_dc_wm_changes_value = 0;
415 thisAgent->max_dc_wm_changes_cycle = 0;
416#ifndef NO_TIMING_STUFF
417 thisAgent->max_dc_time_cycle = 0;
418 thisAgent->max_dc_time_usec = 0;
419
420 thisAgent->max_dc_epmem_time_sec = 0;
421 thisAgent->total_dc_epmem_time_sec = -1;
422 thisAgent->max_dc_epmem_time_cycle = 0;
423
424 thisAgent->max_dc_smem_time_sec = 0;
425 thisAgent->total_dc_smem_time_sec = -1;
426 thisAgent->max_dc_smem_time_cycle = 0;
427#endif // NO_TIMING_STUFF
428}
429
430bool reinitialize_soar(agent* thisAgent)
431{

Callers 4

DoStatsMethod · 0.85
reset_statisticsFunction · 0.85
init_agent_memoryFunction · 0.85
create_soar_agentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected