Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
136 user(s) are online (98 user(s) are browsing Forums)

Members: 0
Guests: 136

more...

Headlines

Forum Index


Board index » All Posts (IamSONIC)




Re: Shaderjoy 1.22
Just popping in
Just popping in


@Capehill

Feature request

Show GLSL Help like shadertoy.com (? Button in the lower right corner) by clicking the button "GLSL Help".

The "GLSL Help" Button could be placed to the existing Buttons (Pause, Rewind and Compile) below the editor.

Simple Version:
After clicking the "GLSL Help" Button the GLSL ES Specification is being shown in a new Window.

Outstanding Version:
After clicking the "GLSL Help" Button pause the rendering of the active Shader. Display the GLSL ES Specification inside the shader rendering rectangle. Add some button to leave "GLSL Help".

Go to top


Re: What the fastest possible x64 emulation way of OS4 today ?
Just popping in
Just popping in


@kas1e

I tried FS-UAE Version 4 one more time. No luck using UAEGFX at all. Tried options like "uaeboard=full+indirect" and so on... doesn't work.

However it works using the Picasso IV. You need to save 640x480@24 as resolution using FS-UAE Version 3. Then you can boot without GFX garbage to workbench using FS-UAE Version 4. After OS4 has been booted you can change the resolution to 800x600, or 1024x768. Unfortunately when i tried to use a Widescreen Resolution the picture gets ugly again, because of those Bezels on the left and right. Tried disabling them. Couldn't get rid of them. But for some performance Tests FS-UAE Version 4 could be used now.

Go to top


Re: What the fastest possible x64 emulation way of OS4 today ?
Just popping in
Just popping in


@kas1e

I use FS-UAE.

1.) FS-UAE 3 only supports Picasso IV. FS-UAE Version 4 (only git Releases right now) should support UAEGFX, because of the support for "UAE Expansions". However i tried it one time and only got GFX garbage, even when using a Picasso IV. So i went back to 3.1.66 for now.

Using a Picasso IV you can use resolutions a bit higher than 1280x720. 1280x800@24 and 1440x900@256 Colors works too. 1440x900@256 is absolutely fine for coding, DEBUGGING and other stuff like that. For 256 Colors i recommend the "Low Color" Theme or some comparable Theme to avoid ugly dithering.

2.) Directory hard disks should work using FS-UAE Version 4

You can download Version 4 builds here.

3.) I also were looking for an option like that. However i decided to launch FS-UAE in Fullscreen.

Go to top


Re: SDL 2.0.20 RC3
Just popping in
Just popping in


@Capehill

Good job

Tested RC3... works great! Logical size mode seems to work now as expected.

Go to top


Re: SDL2
Just popping in
Just popping in


@Capehill

Enabled Batching. Now the resulting image is not just flickering also some strange scaling problems of single textures appeared.

Go to top


Re: SDL2
Just popping in
Just popping in


@Capehill

Interesting! Setting SDL_HINT_RENDER_LOGICAL_SIZE_MODE to "0" / "letterbox" works on my machine using compositing renderer. I get some random flickering when using OpenGL ES 2 renderer.

However i get a black or grey screen when using "1" / "overscan" using compositing renderer. It works using OpenGL ES 2 renderer, but the resulting image doesn't looks like as supposed to look like: "Will zoom the rendering so it fills the entire screen, allowing edges to be drawn offscreen".

Go to top


Re: SDL2
Just popping in
Just popping in


@capehill

Cool, i am still experimenting with this feature. I intend to support it optionally in upcoming releases.

Go to top


Re: x5000 benchmarks / speed up
Just popping in
Just popping in


@kas1e

Quote:
Yeah, check it plz, just we can be sure that it's not me.


Radeon R7 250E gave me 31 Mb/s for Video Bus read. So 1 Mb more than RX 560 :)

Go to top


Re: x5000 benchmarks / speed up
Just popping in
Just popping in


@trgswe

The R9 280X wasn't/isn't supported by Power Prefs. Therefore it generated a lot of heat combined with high electric power consumption, even on common Workbench/App usage. The Warp3D-SI driver (MiniGL compatibility) also did not unleashed the possible performance when using such a card. The Radeon RX 560 in combination with Power Prefs keeps my system cool and quiet.

Go to top


Re: x5000 benchmarks / speed up
Just popping in
Just popping in


@kas1e

Quote:
While probably it should be at best not have those warnings?


I don't have a serial cable plugged currently. Is there a way to obtain this information from OS4?

Quote:
Also, did you try anything except "cache line" as well? Were there any differences?


No, i kept the default setting "Cache-line".

Quote:
Do you have your RadeonHD by hands?


I've sold the Radeon R9 280X. But i still have a Radeon R7 250E i could use for a Benchmark tomorrow.

Go to top


Re: x5000 benchmarks / speed up
Just popping in
Just popping in


@kas1e

Quote:
As can be seen, while Read32/64 didn't change much, Write32/64 almost doubles!

And the changes are real, and not just numbers. For example, in the quake3 benchmark, I had +10 fps in 1920x1080. For Hcraft game +10 fps. For Irrlicht Engine examples for some of them even +40 fps!


Welcome to the (X5000) Dual Channel Memory Experience

As my original posting on OS4Welt is already over 4 years old, i remember that not just fps in games rose, also Odyssey's rendering became quicker!

Quote:
And another issue i found that i can't understand for now. I have too slow speed for the Video Bus "Read". I mean, before (few years ago) when i do test ragemem bench, i do have 54mb/s , that for sure. Today, i have just 23. I tried to put back my old RadeonHD, and it is still 30. Nowhere is a 54. I tried 3 other video cards HD and RX ones, all of them 50% slower in Read as they should be instead. I tried to rollback drivers/ etc, but so far found nothing which can make this difference. Any ideas? Maybe some uboot settings or so ?


Maybe related to Radeon RX? Benchmarking with my Radeon RX 560 also just gives me 30 Mb/s. For the tests i've performed in the past (55 Mb/s) i was using a XFX Radeon R9 280X (Radeon HD). The only U-Boot setting i've ever touched is "amigabootmenu_animcycles".

Go to top


Re: Introducing Profyler
Just popping in
Just popping in


@kas1e

I have an Radeon RX 560 too.

Kickstart 54.30, Workbench 53.62, Radeon RX 2.8, graphics.library 54.248

It could also be related to RAM config.

Go to top


Re: Introducing Profyler
Just popping in
Just popping in


@kas1e

Quote:
compositing effects enabled in GUI. Once disabled it start to be on the same values


Compositing is always enabled on my machine. Maybe it's related to "Power Prefs". I switched to "High Power" before executing the tests. I noticed that the setting in "Power Prefs" affects all drawing operations. Including simple 2D ones.

Go to top


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



TopTop
« 1 (2) 3 4 5 ... 10 »




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project