nel-all
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nel] CHtimer


From: Andi [ Debug ]
Subject: [Nel] CHtimer
Date: Fri, 24 Sep 2004 08:39:55 -0500

Hi,
 
can nevrax please give a break down on using CHtimer to benchmark our tasks update and render cycle.
we have two concurrent iterations to render then update and would like to benchmark each task.
 
 
for(std::list<ITask*>::iterator it = OrderSortedTasks.begin(); it != OrderSortedTasks.end(); it++)
{
 if((*it)->Execute)
 {
  (*it)->update();
 }
}
 
for(std::list<ITask*>::iterator it = OrderSortedTasks.begin(); it != OrderSortedTasks.end(); it++)
{
 if((*it)->Execute)
 {
  (*it)->render();
 }
}

reply via email to

[Prev in Thread] Current Thread [Next in Thread]