Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > Profiler support in the VICE monitor
2023-05-07 23:30
chatGPZ

Registered: Dec 2001
Posts: 11073
Profiler support in the VICE monitor

I just committed an initial patch that adds profiler support to the monitor. This might be interesting for those who are working on their X releases :)

grab the next build (r43769) from here when its done.
 
... 11 posts hidden. Click here to view all posts....
 
2023-05-09 12:21
chatGPZ

Registered: Dec 2001
Posts: 11073
Quote: The GTK3VICE-3.7.1-win64-r43776 build is much more user friendly. Once I remap the shortcuts :)

Dinosaurs can always use gtk3-winvice-legacy.vhk
2023-05-12 12:12
Martin Piper

Registered: Nov 2007
Posts: 621
How about profiling information for disk drives and super CPU and Z80?

Knowing if code is executing from RAM or ROM would help, also it would be useful if it logged the cartridge bank byte(s). Larger carts can have two bank bytes.
2023-05-12 12:54
chatGPZ

Registered: Dec 2001
Posts: 11073
yes, all of this is on the TODO list

RAM vs ROM should already be logged though (although its seems to not work as intended, see the ticket
2023-06-04 16:18
DanPhillips

Registered: Jan 2003
Posts: 30
Could the gathered data be outputted to a file?

Could it be segmented per "frame" so we can see spikes?

Have you used PIX? :D
2023-06-04 18:41
chatGPZ

Registered: Dec 2001
Posts: 11073
Can't really answer any of that :=) What is "PIX"? :)

That said, i think it makes sense to focus on the core features right now, and then make them available via the remote monitor protocol - and then an external program should be able to visualize the data in whatever fancy way you want :)
2023-06-04 22:32
DanPhillips

Registered: Jan 2003
Posts: 30
https://devblogs.microsoft.com/pix/introduction/

Its a bit like Razor for PS4/5.

On XSX/XSS it's a really nice profiling and visualization tool :)
2023-06-05 10:38
Bitbreaker

Registered: Oct 2002
Posts: 498
What would be very awesome about profiling is the possibility to detect dead code and how often (percentage) a branch is taken for optimization reasons :-)
2023-06-05 11:31
chatGPZ

Registered: Dec 2001
Posts: 11073
Quote:
On XSX/XSS it's a really nice profiling and visualization tool :)

OK, as said, all those tools are basically just doing their magic on a set of relatively trivial data - so once the data comes out of vice "somehow", someone can make the interfaces or conversion tools to use all the fancy profile tools.

Quote:
What would be very awesome about profiling is the possibility to detect dead code and how often (percentage) a branch is taken for optimization reasons :-)

also already on the list :)
2023-06-05 21:40
soci

Registered: Sep 2003
Posts: 471
Wow profiling is a thing now :) Used that in 2016 already:

https://singularcrew.hu/temp/2016-09-04-160615_3840x1600_scrot...

But the code needs to be structured properly to get useful results. Used it also for boring stuff like figuring out why cfsfsck (IDEDOS filesystem consistency checker) takes so long and could make it much faster.
2023-06-16 14:52
Brush

Registered: Apr 2002
Posts: 21
@soci this looks like valgrind gui? How did you manage to generate compatible profiling data for 6502? Would you care to share?
Previous - 1 | 2 | 3 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Dwangi/Fairlight
kbs/Pht/Lxt
jmin
Matt
Fungus/Nostalgia
d'Arc/Topaz Beerline
Guests online: 202
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 No Bounds  (9.6)
6 Comaland 100%  (9.6)
7 Uncensored  (9.6)
8 The Ghost  (9.6)
9 No Sprites  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Party Elk 2  (9.7)
2 Cubic Dream  (9.6)
3 Copper Booze  (9.5)
4 Rainbow Connection  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Onscreen 5k  (9.5)
7 Dawnfall V1.1  (9.5)
8 Quadrants  (9.5)
9 Daah, Those Acid Pil..  (9.5)
10 Birth of a Flower  (9.5)
Top Groups
1 Booze Design  (9.3)
2 Nostalgia  (9.3)
3 Oxyron  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Coders
1 Axis  (9.8)
2 Graham  (9.8)
3 Lft  (9.8)
4 Crossbow  (9.8)
5 HCL  (9.8)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.07 sec.