Skip to main content

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

Title:
Salut Xavier,

That looks amazing!

Regards,

Marc

 

 

 

line

MARC DUMAIS
Software developer


Ericsson
8500 Decarie
Ville Mount-Royal, Qc, Canada
Phone 514 345-7900 x45006
marc.dumais@xxxxxxxxxxxx
www.ericsson.com



http://www.ericsson.com/current_campaign

 

On 02/21/2014 06:18 AM, Xavier Raynaud wrote:
Hi Marc,

Many thanks for your answer.
I finally achieve to implement a nice viewer for MPPA (see screenshot attached), based on org.eclipse.cdt.dsf.gdb.multicorevisualizer.ui

As I said in my last message, I've implemented a Kalray-specific IGDBHardwareAndOS.
Moreover, I also implemented a Kalray-specific mulcicore visualiser, based on org.eclipse.cdt.dsf.gdb.multicorevisualizer.ui.
And with only 2 days, it works !

Open source is magic :)

Xavier


On 02/19/2014 02:15 PM, Marc Dumais wrote:
Salut Xavier,

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

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.

Regards,

Marc



_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top