/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Circle_os optimization

Username:     
Password:     
             

Forum

# 1   2009-04-25 10:44:23 Circle_os optimization

repzak
Member
Registered: 2008-03-05
Posts: 170

Circle_os optimization

Hello,

Have anyone some experience in difference of optimization O3 and Size?

I am thinking how much more code space O3 will take and how much faster the OS will be?

Kasper

Offline

 

# 2   2009-04-25 13:19:28 Circle_os optimization

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: Circle_os optimization

Depending on the optimization selection, the code could be very different. For a 8-bit core, speed and size are often compatible. With these 32 bit cores, there are many choices for the code generation, and optimization choice is important.

Offline

 

# 3   2009-04-25 13:26:07 Circle_os optimization

repzak
Member
Registered: 2008-03-05
Posts: 170

Re: Circle_os optimization

You think we can gain speed by using -O3 in the circle_os?

Kasper

Offline

 

# 4   2009-04-25 15:31:55 Circle_os optimization

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: Circle_os optimization

Yes, but CircleOS is supposed to be the same for everybody.
Another solution would consist in modifying the divisors for the handlers, or the systick frequency, etc...
Where do you need to make CircleOS faster ?

Offline

 

Board footer