Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user Goodwell ! (Registered 2025-05-31) 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: 11502
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: 11502
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: 739
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: 11502
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: 42
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: 11502
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: 42
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: 510
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: 11502
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: 486
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: 22
@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
Jedfox/Skylight Desi..
Mixer
zscs
Exile/Anubis
ThunderBlade/BLiSS
iAN CooG/HVSC
NthSt4r
SplAtterpunk
Knobby/Role
Scrap/Genesis Project
Guests online: 94
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.6)
4 Codeboys & Endians  (9.6)
5 Coma Light 13  (9.6)
6 Edge of Disgrace  (9.6)
7 Signal Carnival  (9.6)
8 What Is The Matrix 2  (9.6)
9 Uncensored  (9.6)
10 Comaland 100%  (9.6)
Top onefile Demos
1 Nine  (9.7)
2 Two 4 One  (9.7)
3 Scan and Spin  (9.7)
4 Layers  (9.6)
5 Cubic Dream  (9.6)
6 Party Elk 2  (9.6)
7 Copper Booze  (9.5)
8 Onscreen 5k  (9.5)
9 Libertongo  (9.5)
10 Dawnfall V1.1  (9.5)
Top Groups
1 Artline Designs  (9.4)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Performers  (9.3)
5 Censor Design  (9.3)
Top Webmasters
1 Slaygon  (9.7)
2 Perff  (9.6)
3 Sabbi  (9.5)
4 Morpheus  (9.4)
5 CreaMD  (9.1)

Home - Disclaimer
Copyright © No Name 2001-2025
Page generated in: 0.046 sec.