AnsweredAssumed Answered

why imx6q is so slow????

Question asked by 利伟 庄 on Apr 24, 2015
Latest reply on Apr 27, 2015 by igorpadykov

why it is so slow ????

when I use imx6sdk to develop a project,I set the program run in ocram and write the code like this:

 

arm_set_interrupt_state(false);

start_time=time_get_microseconds();

  for(idx=0;idx<1000000;idx++)

  {

     c=0xaaaaaaaa;

  }

 

  end_time=time_get_microseconds();

  arm_set_interrupt_state(true);

  used_time=end_time-start_time;

 

 

used_time=1213144;

so simple program it used one second!!!

why it is so slow???

Outcomes