ecos_kernel_test bugfix: timer granularity of 10s is way too coarse
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1877 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
@ -162,7 +162,7 @@ bool EcosKernelTestExperiment::performTrace() {
|
|||||||
unsigned instr_counter = 0;
|
unsigned instr_counter = 0;
|
||||||
|
|
||||||
// on the way, count elapsed time
|
// on the way, count elapsed time
|
||||||
TimerListener time_step(10000); //TODO: granularity?
|
TimerListener time_step(10); //TODO: granularity?
|
||||||
//elapsed_time.setCounter(0xFFFFFFFFU); // not working for TimerListener
|
//elapsed_time.setCounter(0xFFFFFFFFU); // not working for TimerListener
|
||||||
simulator.addListener(&time_step);
|
simulator.addListener(&time_step);
|
||||||
unsigned elapsed_time = 1; // always run 1 step
|
unsigned elapsed_time = 1; // always run 1 step
|
||||||
|
|||||||
Reference in New Issue
Block a user