Vadim Malenboim
|
Re: System Profiler Problems
|
Vadim Malenboim
01/28/2009 7:24 AM
post20907
|
Re: System Profiler Problems
The file is 559,199 bytes and i left it for about half an hour to process.
Another question about the results i receive :
I run the following code :
ThreadCtl( _NTO_TCTL_IO, 0 );
while(1)
{
TraceEvent(_NTO_TRACE_INSERTUSRSTREVENT,event_start, str_start);
InterruptLock( &spinner );
/* ... critical section */
c = pow(a,b);
InterruptUnlock( &spinner );
TraceEvent(_NTO_TRACE_INSERTUSRSTREVENT,event_end, str_end);
}
and check the time between the two events
i receive time that is changing in every loop and not constant (image attached).
the time varies from 5 to 12 mSec how is this possible why the results aren't constant
I'm running on ppc405 implemented in Virtex4 fpga.
When I run the same code on x86 with vxWorks running and check the results in windView it gives me constant result of 10
.5 mSec each time.
|
|
|