void CCProfiler::displayTimers()
{
    CCDictElement* pElement = NULL;
    CCDICT_FOREACH(m_pActiveTimers, pElement)
    {
        CCProfilingTimer* timer = (CCProfilingTimer*)pElement->getObject();
        CCLog("%s", timer->description());
    }
Beispiel #2
0
void CCProfiler::displayTimers()
{
    CAMap<std::string, CCProfilingTimer*>::iterator itr;
    for (itr=m_mActiveTimers.begin(); itr!=m_mActiveTimers.end(); itr++)
    {
        CCProfilingTimer* timer = itr->second;
        CCLog("%s", timer->description());
    }
}