Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 145 by
bob.mari...@soartech.com:
sml.Agent.getDecisionCycleCounter() returns wrong value
http://code.google.com/p/soar/issues/detail?id=145
sml.Agent.getDecisionCycleCounter() appears to be linked to the decision
phase counter, not the decision cycle counter.
Specifically, sml::Agent::getDecisionCycleCounter() (in
sml_ClientAgent.cpp) calls (via an sml::Connection)
KernelXML::HandleGetRunState with sml_Names::kParamDecision (in
sml_KernelSMLHandlers.cpp), which calls AgentSML::GetNumDecisionsExecuted()
(in sml_AgentSML.cpp) which does:
uint64_t AgentSML::GetNumDecisionsExecuted()
{
return m_agent->decision_phases_count;
}
The correct field to return is d_cycle_count.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings