Difference in speed between sram datasheet and c language coding

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Difference in speed between sram datasheet and c language coding

658 次查看
jjangyja
Contributor I

void test_func()
{
 unsigned int i = 0;
 
   for(i = 0;i < 52560;i++)
   {
    test_buffer_out[i] = test_buffer_in[i];
   }
 
 
 i = 0; 
}

byte : 52 KByte

for loop time : 5.576 ms !!!!!

and....

SRAM DataSheet

* Features

 - Fast-clock-to-output times

   8.0 ns (100-Mhz Version)

- 16bit Databus

8.0 ns (2 Byte Read/Write Speed)


8.0ns   ===>  5.57 ms Calculate the capacity to process in 1.39 MB.

for loop : DataSheet

56 KB : 1.39 MB

Why is this big difference in capacity (byte)?

标记 (4)
0 项奖励
回复
0 回复数