Re: [LAU] audio configuration for ulatencyd

From: Daniel Poelzleithner <poelzi@email-addr-hidden>
Date: Wed Feb 16 2011 - 12:19:10 EET

On 02/15/2011 07:55 PM, Daniel Poelzleithner wrote:

i extended the dbus interface of ulatencyd today (this interface is was
planned this way as it's the direct iterface to the flag system). It
allows to show and manipulate process flags. I changed the scheduler to
move all processes with the flag name 'sched.rt' into the realtime group.

dbus-send --system --dest=org.quamquam.ulatencyd --print-reply
/org/quamquam/ulatencyd/System org.quamquam.ulatencyd.System.addFlag
uint64:[SOMEPID] uint64:0 string:'sched.rt' string:'test' uint64:0
int32:0 int64:0 int64:0 boolean:false

last value is inheritance, that may be useful.
the second integer is the tid. so you can mark flags to threads only.
this is currently not supported tho, the scheduler needs to handle them
differently.

dbus-send --system --dest=org.quamquam.ulatencyd --print-reply
/org/quamquam/ulatencyd/System
org.quamquam.ulatencyd.System.scheduleTask uint64:[SOMEPID] boolean:false

requests instant rescheduling. the boolean will cause a forced reread of
the process stats.

for more api calls kindly query your d-feet ;-)

this is of course not a interface suited for standardisation.

kind regards
 Daniel

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Wed Feb 16 16:15:01 2011

This archive was generated by hypermail 2.1.8 : Wed Feb 16 2011 - 16:15:02 EET