nel-all
[Top][All Lists]
Advanced

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

Re: [Nel] CHtimer


From: Vianney Lecroart
Subject: Re: [Nel] CHtimer
Date: Fri, 24 Sep 2004 18:38:46 +0200
User-agent: Mozilla Thunderbird 0.7.2 (Windows/20040707)

You should look at the Mtp Target way of benchmarking the whole stuffs, it works pretty well and use a dynamic system of tasks

Vianney

Andi [ Debug ] wrote:

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();
 }
}


------------------------------------------------------------------------

_______________________________________________
Nel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/nel-all

--
Commit du soir, espoir. Update du matin, chagrin.





reply via email to

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