> GYPSY, frameworkd is using permanently 50% of CPU which seems very high to > me. > Is this normal? Due to python? Or am I doing something wrong. I'm using SHR > testing but with FSO it's the same.
For me, GPS always causes very high load, too. I think it is due to python (but maybe it is possible to optimize it somehow anyway?), hopefully we will see the vala reimplementation some day :-) Richard > > Code Snippets: > > > /// create proxy objects for method calls > QString ServiceBusName = "org.freedesktop.Gypsy"; > QString ObjectPath = "/org/freedesktop/Gypsy" ; > QString MethodPath = ""; > GPSInterface = new QDBusInterface( ServiceBusName, > ObjectPath, > MethodPath, > > QDBusConnection::systemBus() ); > > GPSRescourceInterface = new QDBusInterface( ServiceBusName, > > ObjectPath, > > "org.freesmartphone.Resource", > > QDBusConnection::systemBus() ); > > > GPSDeviceInterface = new QDBusInterface( ServiceBusName, > > ObjectPath, > > "org.freedesktop.Gypsy.Device", > > QDBusConnection::systemBus() ); > > GPSOusagedInterface = new QDBusInterface( ServiceBusName, > > "/org/freesmartphone/Usage", > > "org.freesmartphone.Usage", > > QDBusConnection::systemBus() ); > > /// enable GPS > void MokoGPS::StartDevice() > { > GPSDeviceInterface->call("Start"); > GPSRescourceInterface->call("Enable"); > qDebug()<<"GPS device started \n"; > } > > _______________________________________________ > Openmoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community _______________________________________________ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community