paradoxxxzero/gnome-shell-system-monitor-applet — Issue #105: get_cores function
Author: niso
Created: 2012-01-28 20:33:08+00:00
State: open

I've saw you're commented this function because makes segfault. To get the cores:
this.total_cores = GTop.glibtop_get_sysinfo().ncpu