You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first is a simple clear to black memset(back_buffer, 0, FRAME_WIDTH * FRAME_HEIGHT *2);
With cacheing tuned off this takes around 22ms, with cacheing on it takes around 30ms.
The second example is drawing 100 rectangles of 16x16
With cacheing off takes around 5ms, with cacheing on it takes around 14ms
I'm guessing that the cache is getting swamped quickly and then the flash execution times are going down?
I know that Mike has said you use PSRAM for the back buffer in 480x480 so it might be worth you testing it out uncached to see if you get speed improvements.
Cheers
Andy
The text was updated successfully, but these errors were encountered:
Hi Guys,
Not really an issue but a bit of info you might want to look into.
With a PSRAM back buffer I noticed the speeds seemed a bit off, so I investigated turning the cache off. Im running with a 266 clock here.
ps.Malloc
is mallocing from PSRAM.With two timing examples:
The first is a simple clear to black
memset(back_buffer, 0, FRAME_WIDTH * FRAME_HEIGHT *2);
With cacheing tuned off this takes around 22ms, with cacheing on it takes around 30ms.
The second example is drawing 100 rectangles of 16x16
With cacheing off takes around 5ms, with cacheing on it takes around 14ms
I'm guessing that the cache is getting swamped quickly and then the flash execution times are going down?
I know that Mike has said you use PSRAM for the back buffer in 480x480 so it might be worth you testing it out uncached to see if you get speed improvements.
Cheers
Andy
The text was updated successfully, but these errors were encountered: