Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
168 user(s) are online (119 user(s) are browsing Forums)

Members: 1
Guests: 167

trixie, more...

Support us!

Headlines

Forum Index


Board index » All Posts (IamSONIC)




Re: Introducing Profyler
Just popping in
Just popping in


@msteed

Quote:
Would it be possible to run the 'Simple' test program? I'd like to see how the two null functions perform for both versions of the compiler. No need to run the program in all the different ways, since the null functions don't print anything and so won't vary depending on the launch method.


Yes:

Original 'Simple' launched from Shell:

Profile Data for Simple
Function Name                    # of Calls  Incl. Time Incl. %  Incl. Avg.  Excl. Time Excl. %  Excl. Avg.
------------------------------- ----------- ----------- ------- ----------- ----------- ------- -----------
AlsoNull                                  1      441 ns   0.2 %      441 ns      441 ns   0.2 %      441 ns
CR                                        1  174.836 us  67.6 
%  174.836 us      962 ns   0.4 %      962 ns
Hello                                     1   77.674 us  30.0 
%   77.674 us    1.604 us   0.6 %    1.604 us
main                                      1  258.725 us 100.0 
%  258.725 us    2.967 us   1.1 %    2.967 us
MyPrintf                                  4  250.024 us  96.6 
%   62.506 us  250.024 us  96.6 %   62.506 us
Null                                      1      441 ns   0.2 
%      441 ns      441 ns   0.2 %      441 ns
Space                                     1    2.045 us   0.8 
%    2.045 us    1.003 us   0.4 %    1.003 us
World                                     1  177.202 us  68.5 
%  177.202 us    1.283 us   0.5 %    1.283 us


'Simple' built using GCC 11.1.0 launched from Shelll:

Profile Data for Simple
Function Name                    # of Calls  Incl. Time Incl. %  Incl. Avg.  Excl. Time Excl. %  Excl. Avg.
------------------------------- ----------- ----------- ------- ----------- ----------- ------- -----------
AlsoNull                                  1      441 ns   0.2 %      441 ns      441 ns   0.2 %      441 ns
CR                                        1  174.074 us  66.2 
%  174.074 us    1.003 us   0.4 %    1.003 us
Hello                                     1   82.686 us  31.4 
%   82.686 us    1.764 us   0.7 %    1.764 us
main                                      1  263.136 us 100.0 
%  263.136 us    3.008 us   1.1 %    3.008 us
MyPrintf                                  4  254.114 us  96.6 
%   63.529 us  254.114 us  96.6 %   63.529 us
Null                                      1      401 ns   0.2 
%      401 ns      401 ns   0.2 %      401 ns
Space                                     1    2.085 us   0.8 
%    2.085 us    1.003 us   0.4 %    1.003 us
World                                     1  176.600 us  67.1 
%  176.600 us    1.404 us   0.5 %    1.404 us

Go to top


Re: 2.0.20 RC2
Just popping in
Just popping in


@Capehill

Quote:
I haven't tested but I'm guessing SDL_RENDER_LOGICAL_SIZE_MODE


Thanks. To set game resolution automatically to desktop resolution the flag "SDL_WINDOW_FULLSCREEN_DESKTOP" needs to be added to the window flags. SDL_RENDER_LOGICAL_SIZE_MODE can then be used to control scaling behavior.

Go to top


Re: 2.0.20 RC1
Just popping in
Just popping in


@Capehill

Quote:
There is now SDL 2.0.20 RC1 available for testing


Thank you for keeping it up to date! Works great so far!

SDL2 2.0.20 RC1 introduces some nice autoscaling feature. So a Game that opened a 640x480 Screen before (linked to SDL2 2.0.14 U1) is now being shown on a Screen with the same resolution like the Workbench Screen. This is pretty cool for 4:3 Games as they are being rendered correctly now on a widescreen monitor (without the need to adjust input signal) keeping original aspect ratio with addition of black borders to the left and right.

I would like to know which parameter/flag/hint is responsible for this because not every game linked to 2.0.20 RC1 shows this behavior.

Go to top


Re: Introducing Profyler
Just popping in
Just popping in


@msteed

Quote:
That leaves GCC as the unknown quantity. I haven't installed GCC 11 yet, so I can't try it to see what difference I get. Maybe you could try
running the test programs as provided with Profyler, which are compiled with GCC 8.3.0, and comparing those results to the ones you get when
they're compiled with GCC 11.1.0.


Ok here we go:

Note: In order to execute "SOLibTest" from your original Tests (GCC 8.3.0 built) i had to use my GCC 11.1.0 built "MyLib.so" because it is not included.

Original Tests launched from Workbench:

Profile Data for MultiThread
Function Name                    # of Calls  Incl. Time Incl. %  Incl. Avg.  Excl. Time Excl. %  Excl. Avg.
------------------------------- ----------- ----------- ------- ----------- ----------- ------- -----------
main                                      1     1.175 s 100.0 %     1.175 s     1.002 s  85.3 %     1.002 s
MyPrintf                                  2  172.963 ms  14.7 
%   86.481 ms  172.963 ms  14.7 %   86.481 ms


Profile Data 
for SOLibTest
Function Name                    # of Calls  Incl. Time Incl. %  Incl. Avg.  Excl. Time Excl. %  Excl. Avg.
------------------------------- ----------- ----------- ------- ----------- ----------- ------- -----------
main                                      1   98.380 ms 100.0 %   98.380 ms    2.286 us   0.0 %    2.286 us
MyLib_Hello                               1   85.012 us   0.1 
%   85.012 us    1.083 us   0.0 %    1.083 us
MyLib_MyPrintf                            2   98.376 ms 100.0 
%   49.188 ms   98.376 ms 100.0 %   49.188 ms
MyLib_World                               1   98.293 ms  99.9 
%   98.293 ms    1.163 us   0.0 %    1.163 us


Profile Data 
for LinkLibTest
Function Name                    # of Calls  Incl. Time Incl. %  Incl. Avg.  Excl. Time Excl. %  Excl. Avg.
------------------------------- ----------- ----------- ------- ----------- ----------- ------- -----------
main                                      1  116.627 ms 100.0 %  116.627 ms    1.644 us   0.0 %    1.644 us
MyLib_Hello                               1   58.305 us   0.0 
%   58.305 us    1.123 us   0.0 %    1.123 us
MyLib_MyPrintf                            2  116.623 ms 100.0 
%   58.311 ms  116.623 ms 100.0 %   58.311 ms
MyLib_World                               1  116.567 ms  99.9 
%  116.567 ms    1.083 us   0.0 %    1.083 us


Profile Data 
for Recursion
Function Name                    # of Calls  Incl. Time Incl. %  Incl. Avg.  Excl. Time Excl. %  Excl. Avg.
------------------------------- ----------- ----------- ------- ----------- ----------- ------- -----------
CR                                        2   57.273 ms  99.8 %   28.636 ms    2.045 us   0.0 %    1.023 us
main                                      1   57.363 ms 100.0 
%   57.363 ms    1.805 us   0.0 %    1.805 us
MyPrintf                                 13   57.343 ms 100.0 
%    4.411 ms   57.343 ms 100.0 %    4.411 ms
Recurse                                  11   13.898 ms  24.2 
%    1.263 ms   13.875 us   0.0 %    1.261 us
Wazzup                                    1   56.082 ms  97.8 
%   56.082 ms    1.805 us   0.0 %    1.805 us


Profile Data 
for StructorPlus
Function Name                    # of Calls  Incl. Time Incl. %  Incl. Avg.  Excl. Time Excl. %  Excl. Avg.
------------------------------- ----------- ----------- ------- ----------- ----------- ------- -----------
__static_initialization_and_des           2   76.850 ms  96.6 %   38.425 ms    2.366 us   0.0 %    1.183 us
_GLOBAL__sub_D_TheGlobalClass             1  561.761 us   0.7 
%  561.761 us    1.163 us   0.0 %    1.163 us
_GLOBAL__sub_I_TheGlobalClass             1   76.292 ms  95.9 
%   76.292 ms    1.965 us   0.0 %    1.965 us
Hello
()                                   1    1.520 ms   1.9 %    1.520 ms    1.203 us   0.0 %    1.203 us
main                                      1    2.675 ms   3.4 
%    2.675 ms    5.293 us   0.0 %    5.293 us
MyPrintf
(char*)                           5   79.511 ms 100.0 %   15.902 ms   79.511 ms 100.0 %   15.902 ms
TestClass
::TestClass()                    2   76.889 ms  96.7 %   38.444 ms    2.847 us   0.0 %    1.424 us
TestClass
::~TestClass()                   2    1.109 ms   1.4 %  554.303 us    2.366 us   0.0 %    1.183 us


Original Tests launched from Shell:

Profile Data for MultiThread
Function Name                    # of Calls  Incl. Time Incl. %  Incl. Avg.  Excl. Time Excl. %  Excl. Avg.
------------------------------- ----------- ----------- ------- ----------- ----------- ------- -----------
main                                      1     1.001 s 100.0 %     1.001 s     1.001 s  99.9 %     1.001 s
MyPrintf                                  2  554.623 us   0.1 
%  277.312 us  554.623 us   0.1 %  277.312 us


Profile Data 
for SOLibTest
Function Name                    # of Calls  Incl. Time Incl. %  Incl. Avg.  Excl. Time Excl. %  Excl. Avg.
------------------------------- ----------- ----------- ------- ----------- ----------- ------- -----------
main                                      1  250.665 us 100.0 %  250.665 us    2.406 us   1.0 %    2.406 us
MyLib_Hello                               1   74.466 us  29.7 
%   74.466 us    1.083 us   0.4 %    1.083 us
MyLib_MyPrintf                            2  246.134 us  98.2 
%  123.067 us  246.134 us  98.2 %  123.067 us
MyLib_World                               1  173.793 us  69.3 
%  173.793 us    1.043 us   0.4 %    1.043 us


Profile Data 
for LinkLibTest
Function Name                    # of Calls  Incl. Time Incl. %  Incl. Avg.  Excl. Time Excl. %  Excl. Avg.
------------------------------- ----------- ----------- ------- ----------- ----------- ------- -----------
main                                      1  250.384 us 100.0 %  250.384 us    1.604 us   0.6 %    1.604 us
MyLib_Hello                               1   74.185 us  29.6 
%   74.185 us    1.323 us   0.5 %    1.323 us
MyLib_MyPrintf                            2  246.415 us  98.4 
%  123.208 us  246.415 us  98.4 %  123.208 us
MyLib_World                               1  174.595 us  69.7 
%  174.595 us    1.043 us   0.4 %    1.043 us


Profile Data 
for Recursion
Function Name                    # of Calls  Incl. Time Incl. %  Incl. Avg.  Excl. Time Excl. %  Excl. Avg.
------------------------------- ----------- ----------- ------- ----------- ----------- ------- -----------
CR                                        2  841.098 us  88.8 %  420.549 us    2.125 us   0.2 %    1.063 us
main                                      1  947.162 us 100.0 
%  947.162 us    1.764 us   0.2 %    1.764 us
MyPrintf                                 13  927.954 us  98.0 
%   71.381 us  927.954 us  98.0 %   71.381 us
Recurse                                  11    7.383 ms 779.4 
%  671.146 us   13.794 us   1.5 %    1.254 us
Wazzup                                    1  259.768 us  27.4 
%  259.768 us    1.524 us   0.2 %    1.524 us


Profile Data 
for StructorPlus
Function Name                    # of Calls  Incl. Time Incl. %  Incl. Avg.  Excl. Time Excl. %  Excl. Avg.
------------------------------- ----------- ----------- ------- ----------- ----------- ------- -----------
__static_initialization_and_des           2    1.851 ms  59.8 %  925.669 us    2.366 us   0.1 %    1.183 us
_GLOBAL__sub_D_TheGlobalClass             1    1.545 ms  49.9 
%    1.545 ms    1.203 us   0.0 %    1.203 us
_GLOBAL__sub_I_TheGlobalClass             1  309.331 us  10.0 
%  309.331 us    2.005 us   0.1 %    2.005 us
Hello
()                                   1  157.112 us   5.1 %  157.112 us    1.163 us   0.0 %    1.163 us
main                                      1    1.241 ms  40.1 
%    1.241 ms    4.892 us   0.2 %    4.892 us
MyPrintf
(char*)                           5    3.079 ms  99.5 %  615.760 us    3.079 ms  99.5 %  615.760 us
TestClass
::TestClass()                    2  492.067 us  15.9 %  246.034 us    2.526 us   0.1 %    1.263 us
TestClass
::~TestClass()                   2    2.436 ms  78.7 %    1.218 ms    2.406 us   0.1 %    1.203 us


Original Tests launched from Shell via run:

Profile Data for MultiThread
Function Name                    # of Calls  Incl. Time Incl. %  Incl. Avg.  Excl. Time Excl. %  Excl. Avg.
------------------------------- ----------- ----------- ------- ----------- ----------- ------- -----------
main                                      1     1.006 s 100.0 %     1.006 s     1.002 s  99.6 %     1.002 s
MyPrintf                                  2    3.944 ms   0.4 
%    1.972 ms    3.944 ms   0.4 %    1.972 ms


Profile Data 
for SOLibTest
Function Name                    # of Calls  Incl. Time Incl. %  Incl. Avg.  Excl. Time Excl. %  Excl. Avg.
------------------------------- ----------- ----------- ------- ----------- ----------- ------- -----------
main                                      1    1.138 ms 100.0 %    1.138 ms    2.366 us   0.2 %    2.366 us
MyLib_Hello                               1   70.416 us   6.2 
%   70.416 us    1.083 us   0.1 %    1.083 us
MyLib_MyPrintf                            2    1.134 ms  99.6 
%  566.794 us    1.134 ms  99.6 %  566.794 us
MyLib_World                               1    1.065 ms  93.6 
%    1.065 ms    1.083 us   0.1 %    1.083 us


Profile Data 
for LinkLibTest
Function Name                    # of Calls  Incl. Time Incl. %  Incl. Avg.  Excl. Time Excl. %  Excl. Avg.
------------------------------- ----------- ----------- ------- ----------- ----------- ------- -----------
main                                      1    1.075 ms 100.0 %    1.075 ms    1.604 us   0.1 %    1.604 us
MyLib_Hello                               1   69.453 us   6.5 
%   69.453 us    1.163 us   0.1 %    1.163 us
MyLib_MyPrintf                            2    1.071 ms  99.6 
%  535.696 us    1.071 ms  99.6 %  535.696 us
MyLib_World                               1    1.004 ms  93.4 
%    1.004 ms    1.043 us   0.1 %    1.043 us


Profile Data 
for Recursion
Function Name                    # of Calls  Incl. Time Incl. %  Incl. Avg.  Excl. Time Excl. %  Excl. Avg.
------------------------------- ----------- ----------- ------- ----------- ----------- ------- -----------
CR                                        2    3.131 ms  96.9 %    1.566 ms    2.165 us   0.1 %    1.083 us
main                                      1    3.232 ms 100.0 
%    3.232 ms    1.885 us   0.1 %    1.885 us
MyPrintf                                 13    3.212 ms  99.4 
%  247.105 us    3.212 ms  99.4 %  247.105 us
Recurse                                  11   24.133 ms 746.7 
%    2.194 ms   13.995 us   0.4 %    1.272 us
Wazzup                                    1    1.022 ms  31.6 
%    1.022 ms    1.724 us   0.1 %    1.724 us


Profile Data 
for StructorPlus
Function Name                    # of Calls  Incl. Time Incl. %  Incl. Avg.  Excl. Time Excl. %  Excl. Avg.
------------------------------- ----------- ----------- ------- ----------- ----------- ------- -----------
__static_initialization_and_des           2    2.674 ms  36.6 %    1.337 ms    2.326 us   0.0 %    1.163 us
_GLOBAL__sub_D_TheGlobalClass             1    1.607 ms  22.0 
%    1.607 ms    1.203 us   0.0 %    1.203 us
_GLOBAL__sub_I_TheGlobalClass             1    1.069 ms  14.6 
%    1.069 ms    1.564 us   0.0 %    1.564 us
Hello
()                                   1    1.524 ms  20.9 %    1.524 ms    1.243 us   0.0 %    1.243 us
main                                      1    4.632 ms  63.4 
%    4.632 ms    5.173 us   0.1 %    5.173 us
MyPrintf
(char*)                           5    7.292 ms  99.8 %    1.458 ms    7.292 ms  99.8 %    1.458 ms
TestClass
::TestClass()                    2    2.636 ms  36.1 %    1.318 ms    2.967 us   0.0 %    1.484 us
TestClass
::~TestClass()                   2    3.139 ms  42.9 %    1.569 ms    2.486 us   0.0 %    1.243 us


Tests built using GCC 11.1.0 launched from Shell:

Profile Data for MultiThread
Function Name                    # of Calls  Incl. Time Incl. %  Incl. Avg.  Excl. Time Excl. %  Excl. Avg.
------------------------------- ----------- ----------- ------- ----------- ----------- ------- -----------
main                                      1     1.005 s 100.0 %     1.005 s     1.002 s  99.6 %     1.002 s
MyPrintf                                  2    3.773 ms   0.4 
%    1.886 ms    3.773 ms   0.4 %    1.886 ms


Profile Data 
for SOLibTest
Function Name                    # of Calls  Incl. Time Incl. %  Incl. Avg.  Excl. Time Excl. %  Excl. Avg.
------------------------------- ----------- ----------- ------- ----------- ----------- ------- -----------
main                                      1    1.123 ms 100.0 %    1.123 ms    2.165 us   0.2 %    2.165 us
MyLib_Hello                               1   74.746 us   6.7 
%   74.746 us    1.083 us   0.1 %    1.083 us
MyLib_MyPrintf                            2    1.118 ms  99.6 
%  559.095 us    1.118 ms  99.6 %  559.095 us
MyLib_World                               1    1.046 ms  93.1 
%    1.046 ms    1.083 us   0.1 %    1.083 us


Profile Data 
for LinkLibTest
Function Name                    # of Calls  Incl. Time Incl. %  Incl. Avg.  Excl. Time Excl. %  Excl. Avg.
------------------------------- ----------- ----------- ------- ----------- ----------- ------- -----------
main                                      1  989.708 us 100.0 %  989.708 us    1.724 us   0.2 %    1.724 us
MyLib_Hello                               1   72.902 us   7.4 
%   72.902 us    1.243 us   0.1 %    1.243 us
MyLib_MyPrintf                            2  985.658 us  99.6 
%  492.829 us  985.658 us  99.6 %  492.829 us
MyLib_World                               1  915.082 us  92.5 
%  915.082 us    1.083 us   0.1 %    1.083 us


Profile Data 
for Recursion
Function Name                    # of Calls  Incl. Time Incl. %  Incl. Avg.  Excl. Time Excl. %  Excl. Avg.
------------------------------- ----------- ----------- ------- ----------- ----------- ------- -----------
CR                                        2    3.078 ms  96.7 %    1.539 ms    2.085 us   0.1 %    1.043 us
main                                      1    3.184 ms 100.0 
%    3.184 ms    1.604 us   0.1 %    1.604 us
MyPrintf                                 13    3.165 ms  99.4 
%  243.438 us    3.165 ms  99.4 %  243.438 us
Recurse                                  11   24.184 ms 759.6 
%    2.199 ms   13.835 us   0.4 %    1.258 us
Wazzup                                    1  969.177 us  30.4 
%  969.177 us    1.644 us   0.1 %    1.644 us


Profile Data 
for StructorPlus
Function Name                    # of Calls  Incl. Time Incl. %  Incl. Avg.  Excl. Time Excl. %  Excl. Avg.
------------------------------- ----------- ----------- ------- ----------- ----------- ------- -----------
__static_initialization_and_des           2    2.570 ms  35.6 %    1.285 ms    2.286 us   0.0 %    1.143 us
_GLOBAL__sub_D_TheGlobalClass             1    1.541 ms  21.3 
%    1.541 ms    1.163 us   0.0 %    1.163 us
_GLOBAL__sub_I_TheGlobalClass             1    1.032 ms  14.3 
%    1.032 ms    1.724 us   0.0 %    1.724 us
Hello
()                                   1    1.531 ms  21.2 %    1.531 ms    1.404 us   0.0 %    1.404 us
main                                      1    4.650 ms  64.4 
%    4.650 ms    5.213 us   0.1 %    5.213 us
MyPrintf
(char*)                           5    7.206 ms  99.8 %    1.441 ms    7.206 ms  99.8 %    1.441 ms
TestClass
::TestClass()                    2    2.597 ms  36.0 %    1.299 ms    2.687 us   0.0 %    1.344 us
TestClass
::~TestClass()                   2    3.085 ms  42.7 %    1.542 ms    2.566 us   0.0 %    1.283 us


Tests built using GCC 11.1.0 launched from Shell via run:

Profile Data for MultiThread
Function Name                    # of Calls  Incl. Time Incl. %  Incl. Avg.  Excl. Time Excl. %  Excl. Avg.
------------------------------- ----------- ----------- ------- ----------- ----------- ------- -----------
main                                      1     1.006 s 100.0 %     1.006 s     1.002 s  99.6 %     1.002 s
MyPrintf                                  2    3.971 ms   0.4 
%    1.986 ms    3.971 ms   0.4 %    1.986 ms


Profile Data 
for SOLibTest
Function Name                    # of Calls  Incl. Time Incl. %  Incl. Avg.  Excl. Time Excl. %  Excl. Avg.
------------------------------- ----------- ----------- ------- ----------- ----------- ------- -----------
main                                      1    1.123 ms 100.0 %    1.123 ms    2.446 us   0.2 %    2.446 us
MyLib_Hello                               1   70.255 us   6.3 
%   70.255 us    1.123 us   0.1 %    1.123 us
MyLib_MyPrintf                            2    1.119 ms  99.6 
%  559.295 us    1.119 ms  99.6 %  559.295 us
MyLib_World                               1    1.051 ms  93.5 
%    1.051 ms    1.083 us   0.1 %    1.083 us


Profile Data 
for LinkLibTest
Function Name                    # of Calls  Incl. Time Incl. %  Incl. Avg.  Excl. Time Excl. %  Excl. Avg.
------------------------------- ----------- ----------- ------- ----------- ----------- ------- -----------
main                                      1  979.242 us 100.0 %  979.242 us    1.724 us   0.2 %    1.724 us
MyLib_Hello                               1   69.694 us   7.1 
%   69.694 us    1.203 us   0.1 %    1.203 us
MyLib_MyPrintf                            2  975.232 us  99.6 
%  487.616 us  975.232 us  99.6 %  487.616 us
MyLib_World                               1  907.824 us  92.7 
%  907.824 us    1.083 us   0.1 %    1.083 us


Profile Data 
for Recursion
Function Name                    # of Calls  Incl. Time Incl. %  Incl. Avg.  Excl. Time Excl. %  Excl. Avg.
------------------------------- ----------- ----------- ------- ----------- ----------- ------- -----------
CR                                        2    3.078 ms  96.3 %    1.539 ms    2.005 us   0.1 %    1.003 us
main                                      1    3.196 ms 100.0 
%    3.196 ms    1.764 us   0.1 %    1.764 us
MyPrintf                                 13    3.177 ms  99.4 
%  244.348 us    3.177 ms  99.4 %  244.348 us
Recurse                                  11   23.465 ms 734.2 
%    2.133 ms   13.794 us   0.4 %    1.254 us
Wazzup                                    1    1.046 ms  32.7 
%    1.046 ms    1.724 us   0.1 %    1.724 us


Profile Data 
for StructorPlus
Function Name                    # of Calls  Incl. Time Incl. %  Incl. Avg.  Excl. Time Excl. %  Excl. Avg.
------------------------------- ----------- ----------- ------- ----------- ----------- ------- -----------
__static_initialization_and_des           2    2.646 ms  35.8 %    1.323 ms    2.246 us   0.0 %    1.123 us
_GLOBAL__sub_D_TheGlobalClass             1    1.557 ms  21.1 
%    1.557 ms    1.163 us   0.0 %    1.163 us
_GLOBAL__sub_I_TheGlobalClass             1    1.092 ms  14.8 
%    1.092 ms    1.925 us   0.0 %    1.925 us
Hello
()                                   1    1.582 ms  21.4 %    1.582 ms    1.243 us   0.0 %    1.243 us
main                                      1    4.746 ms  64.2 
%    4.746 ms    4.972 us   0.1 %    4.972 us
MyPrintf
(char*)                           5    7.379 ms  99.8 %    1.476 ms    7.379 ms  99.8 %    1.476 ms
TestClass
::TestClass()                    2    2.677 ms  36.2 %    1.339 ms    2.286 us   0.0 %    1.143 us
TestClass
::~TestClass()                   2    3.126 ms  42.3 %    1.563 ms    2.406 us   0.0 %    1.203 us


The results i've posted earlier are "Tests built using GCC 11.1.0 launched from Workbench".

Go to top


Re: Introducing Profyler
Just popping in
Just popping in


@msteed

Quote:
I notice you've got some execution times down in the 500 - 600 ns range. The fastest I've ever seen on my X1000 is around 1 us.
I don't know if the difference is due to the X5000 (is it that much faster?), or perhaps the newer version of GCC is more efficient at
function calls. Interesting.


Regarding to this blog the X5000 seems to be faster per MHz than the X1000:

"(the core used in the P50x0 line achieves 3.0 DMIPS per Mhz as opposed to the 2.2 DMIPS per Mhz that the PA6T does)"

Also SysMon's Benchmark Tab (RageMem) give us some numbers:

- X1000 @1800 MHz: 3082 MIPS
- X5000 @1995 MHz: 3986 MIPS

I suppose that newer versions of GCC are optimized regarding runtime performance. Unfortunately i've never did some kind of benchmarking in this area. Maybe sTix can provide some more profound information here.

Here's some Profyler Data from my machine:

Profile Data for MultiThread
Function Name                    # of Calls  Incl. Time Incl. %  Incl. Avg.  Excl. Time Excl. %  Excl. Avg.
------------------------------- ----------- ----------- ------- ----------- ----------- ------- -----------
main                                      1     1.342 s 100.0 %     1.342 s     1.001 s  74.6 %     1.001 s
MyPrintf                                  2  341.408 ms  25.4 
%  170.704 ms  341.408 ms  25.4 %  170.704 ms


Profile Data 
for SOLibTest
Function Name                    # of Calls  Incl. Time Incl. %  Incl. Avg.  Excl. Time Excl. %  Excl. Avg.
------------------------------- ----------- ----------- ------- ----------- ----------- ------- -----------
main                                      1   65.039 ms 100.0 %   65.039 ms    2.125 us   0.0 %    2.125 us
MyLib_Hello                               1   65.082 us   0.1 
%   65.082 us    1.123 us   0.0 %    1.123 us
MyLib_MyPrintf                            2   65.035 ms 100.0 
%   32.517 ms   65.035 ms 100.0 %   32.517 ms
MyLib_World                               1   64.972 ms  99.9 
%   64.972 ms    1.123 us   0.0 %    1.123 us


Profile Data 
for LinkLibTest
Function Name                    # of Calls  Incl. Time Incl. %  Incl. Avg.  Excl. Time Excl. %  Excl. Avg.
------------------------------- ----------- ----------- ------- ----------- ----------- ------- -----------
main                                      1  169.812 ms 100.0 %  169.812 ms    1.724 us   0.0 %    1.724 us
MyLib_Hello                               1   57.784 us   0.0 
%   57.784 us    1.203 us   0.0 %    1.203 us
MyLib_MyPrintf                            2  169.808 ms 100.0 
%   84.904 ms  169.808 ms 100.0 %   84.904 ms
MyLib_World                               1  169.753 ms 100.0 
%  169.753 ms    1.163 us   0.0 %    1.163 us


Profile Data 
for Recursion
Function Name                    # of Calls  Incl. Time Incl. %  Incl. Avg.  Excl. Time Excl. %  Excl. Avg.
------------------------------- ----------- ----------- ------- ----------- ----------- ------- -----------
CR                                        2  127.788 ms  99.9 %   63.894 ms    2.045 us   0.0 %    1.023 us
main                                      1  127.878 ms 100.0 
%  127.878 ms    1.764 us   0.0 %    1.764 us
MyPrintf                                 13  127.859 ms 100.0 
%    9.835 ms  127.859 ms 100.0 %    9.835 ms
Recurse                                  11    7.231 ms   5.7 
%  657.370 us   14.155 us   0.0 %    1.287 us
Wazzup                                    1  127.204 ms  99.5 
%  127.204 ms    1.684 us   0.0 %    1.684 us


Profile Data 
for StructorPlus
Function Name                    # of Calls  Incl. Time Incl. %  Incl. Avg.  Excl. Time Excl. %  Excl. Avg.
------------------------------- ----------- ----------- ------- ----------- ----------- ------- -----------
__static_initialization_and_des           2  105.220 ms  99.5 %   52.610 ms    2.446 us   0.0 %    1.223 us
_GLOBAL__sub_D_TheGlobalClass             1  181.533 us   0.2 
%  181.533 us    1.203 us   0.0 %    1.203 us
_GLOBAL__sub_I_TheGlobalClass             1  105.042 ms  99.3 
%  105.042 ms    1.885 us   0.0 %    1.885 us
Hello
()                                   1  151.458 us   0.1 %  151.458 us    1.243 us   0.0 %    1.243 us
main                                      1  522.784 us   0.5 
%  522.784 us    5.333 us   0.0 %    5.333 us
MyPrintf
(char*)                           5  105.729 ms 100.0 %   21.146 ms  105.729 ms 100.0 %   21.146 ms
TestClass
::TestClass()                    2  105.225 ms  99.5 %   52.613 ms    2.687 us   0.0 %    1.344 us
TestClass
::~TestClass()                   2  358.654 us   0.3 %  179.327 us    2.326 us   0.0 %    1.163 us

Go to top


Re: Introducing Profyler
Just popping in
Just popping in


@msteed

Outstanding Release! Thank you!

Everything worked out of the box on X5000, SDK 53.34, GCC 11.1.0. Included Readme and Amiga Guide Documentation is a joy to read.

After compiling the lib and the examples i had immediately to try it with some small other project.

Setup is realy easy:

Quote:

CFLAGS += -g -gstabs -finstrument-functions -fno-inline -DPROFILING
LDFLAGS += -lprofyle


Resized Image

Works :)

Ideal supplement for OS4 developers toolchain.

Go to top


Re: "Ermentrud" adventure game: First Trailer!
Just popping in
Just popping in


@Raziel

Quote:
I wonder if, @Timo would rebuild the game, with SDL2.0.20 they'd be gone again?


I'll build Ermentrud again and link it against SDL2 2.0.20 RC1. You'll receive soon a PM. For an official itch.io release i would like to wait for the final version of SDL2 2.0.20 instead of the RC1.

Go to top


Re: "Ermentrud" adventure game: First Trailer!
Just popping in
Just popping in


@Raziel

Quote:
And Ermentrud does display the extreme audio dropouts and slowdowns again.


Maybe something is wrong configured on your machine. Ermentrud has been extensively tested on all existing OS4 Hardware i know. No such problem occured in beta testing phase.

Something comparable what you write about Ermentrud on your Machine, occured during the testing of Freegemas on an A1 XE G4 from a tester. On all machines that Game ran fine except that A1 (horrible performance despite Compositing Renderer). After some testing/feedback cycles the tester reinstalled 4.1FE U2 and Freegemas began to run like on other systems. I wish i could tell you excatly what the problem is/was.

Go to top


Re: "Ermentrud" adventure game: First Trailer!
Just popping in
Just popping in


@sinisrus

Quote:
Do you plan to release this new version of inga on AmigaOS4 ?


The version for AmigaOS 4 has been released some time ago. The Ermentrud executable is the INGA engine. So you can replace the game data and use it with another game.

You can download it here:

https://inutilis.itch.io/ermentrud

Go to top


Re: Odyssey 1.23 progress: r5 RC2
Just popping in
Just popping in


Tried the RC1 and since a few of days i am using the version from OS4Depot. Works great! Thanks to all involved.

Go to top


Re: Pixy new pixel editor for amigaos4
Just popping in
Just popping in


@sinisrus

Quote:
Is it possible for you to test with french localization ?


Switched the language to french. No difference.

I get the same stack trace like the one tekmage posted.

Go to top


Re: Pixy new pixel editor for amigaos4
Just popping in
Just popping in


@sinisrus

- Which language English or ?
English Version of Pixy

- What machine ?
X5000 (P5020)

- Os4 or Morphos ?
OS4

- Pixy test on HD or RAM Disk?
Tried both. Launching from an SFS2 Partition lead more often to success than launching from an NGFS Partition or from RAM Disk. But this might just be a coincidence.

Go to top


Re: Pixy new pixel editor for amigaos4
Just popping in
Just popping in


Tried the latest Version. I got it working one time but most of the time it crashes on startup. Looks promising. I like the quick browsing/applying of Filters in the Filter Manager.

Go to top


Re: Porting to AmigaOS4 thread
Just popping in
Just popping in


@Raziel

gettext:

inter.h - L4

#if defined(__vita__) || defined(WIN32) || defined(__amigaos4__)

no dwarf errors here.

Go to top


Re: Porting to AmigaOS4 thread
Just popping in
Just popping in


@Raziel

removing "std::" works here.

From the code snippet you've posted here i recognized you're working on a port of Freegemas.

I finished the Port two days ago :)

Resized Image

I just need some more time for QA and Release. But game is working very well so far.

Go to top


Re: GL4ES: another OpenGL over OpenGLES2 emulation - some tech. info and porting progress
Just popping in
Just popping in


@Raziel

glSnoop. But maybe this doesn't helps you much here as the output only contains the translated GLES2/W3DN calls. For additional GL4ES logging/options see gl4es/SDK/Documentation/GL4ES/USAGE.md

LIBGL_DBGSHADERCONV
LIBGL_LOGSHADERERROR

you can set them in CLI like:
setenv LIBGL_LOGSHADERERROR 1

Go to top


Re: Porting to AmigaOS4 thread
Just popping in
Just popping in


@Raziel

Quote:
Our OpenGL is kind of v1.3 based, correct?
What features does it lack?
e.g. does it support shaders too (like ogles2?)


Quote:
MiniGL lacks frame buffer objects (FBOs) and shaders.


When building stuff targeting OpenGL 1.x/2.x you could try to use GL4ES SDK.

Depending on game/app you'll get varying results. It can become a bit challenging to get the used shaders OpenGL ES 2.0 comaptible. Sometimes this can be as easy by simply changing some GLSL specific version and syntax. Sometimes some changes to game/app code to control the modified shaders.

You can easily check shaders for compatibility (before touching the main project at all) by using the glslangvalidator cli utility.

The main downside when using GL4ES is the missing backward compatibility to MiniGL - which is imho completely relativated as newer projects are more demanding and therefore require perfomance levels which cannot be archived using (currently) available MiniGL solutions.

Go to top


Re: gcc 9 and 10 and 11
Just popping in
Just popping in


@sTix

Quote:
If anyone would like to try 11.1.0 out, a build can be found here:


Thanks for the update! Tried compiling 2 projects. No problems.

I also tried "-flto" but it doesn't work when building natively.

Go to top


Re: Shadow Warrior 1997 game for 68k Amigas
Just popping in
Just popping in


@TearsOfMe

Try setting a 32Bit Screenmode for your Workbench Screen

Go to top


Re: Shadow Warrior 1997 game for 68k Amigas
Just popping in
Just popping in


@TearsOfMe

Quote:
Yes, i see dots, lines and ..this seems to be not ok or?


Yes than SDL2 gfx work. You could try reinstalling JFSW and ensure the SW-data you transferred to your x1000 is ok. At the moment i have no idea why you get a black screen/window. As far as i remember one of the beta testers owns an x1000. But no such problems occured.


Go to top



TopTop
« 1 2 3 (4) 5 6 7 ... 11 »



Polls
Running AmigaOS 4 on?
AmigaOne SE/XE or microA1 12% (26)
Pegasos2 3% (8)
X5000 22% (48)
X1000 14% (30)
A1222 8% (19)
Sam 440/460 18% (40)
Classic PowerPC Amiga 2% (6)
WinUAE emulation 7% (16)
Qemu emulation 9% (21)
Total Votes: 214
The poll closed at 2025/12/1 12:00
7 Comments


Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project