Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Multicore visualizer

Salut Xavier,

On 02/18/2014 09:49 AM, Xavier Raynaud wrote:

I've started to play with Multicore visualizer (org.eclipse.cdt.dsf.gdb.multicorevisualizer.ui).
My objective is to visualize the Kalray MPPA (it's a device with 288 cores) in Eclipse, during a debug session.
Cool! We are very excited to have you join to work on the multicore visualizer. With the high number of cores on the Kalray chip, it will be interesting to see how this goes.

Next step is to connect multicorevisualizer with the MPPA.
It seems the MultiCoreVisualizer relies on IGDBHardwareAndOS service to retrieve CPUs, Cores, and Threads.
So I guess I've to provide my own implementation of this class ?
I think so. Depending on how linux-like your application looks through GDB, you might be able to re-use some of the existing implementation.

However you'll likely need to at least re-implement the part that finds-out the number of CPUs/Cores (by looking in /proc/cpuinfo - which is very Linux-specific). You probably will want to add some Kalray-specific entities in there, in addition to the CPUs/cores (Sorry - I do not remember the details, but I think you have a concept of group-of-cores, that might be useful to add in there).

More generally, have you any hints on this topic ?

We are working on the first iteration of the Epiphany Visualizer right now. It's based on the Multicore Visualizer, strategically overriding some parts of it. We will be presenting this work at EclipseCon next month. We are going to start working on the IGDBHardwareAndOS part later this week - it's the biggest part left. We might be able to share some code in a couple of weeks, if you are interested to have a look. I attach a couple of recent screenshot of the EV.



Many thanks,

Xavier Raynaud
cdt-dev mailing list





Software developer

8500 Decarie
Ville Mount-Royal, Qc, Canada
Phone 514 345-7900 x45006


Attachment: Screenshot from 2014-02-18 09:36:06.png
Description: PNG image

Attachment: Screenshot from 2014-01-15 11:45:10.png
Description: PNG image

Back to the top