mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 06:57:51 +00:00
depot: add runtime pkg for cpu_load_display
This commit is contained in:
parent
6e20ffb990
commit
dbf02ac3c1
3
repos/gems/recipes/pkg/cpu_load_display/README
Normal file
3
repos/gems/recipes/pkg/cpu_load_display/README
Normal file
@ -0,0 +1,3 @@
|
||||
|
||||
Display the CPU load as a graph
|
||||
|
4
repos/gems/recipes/pkg/cpu_load_display/archives
Normal file
4
repos/gems/recipes/pkg/cpu_load_display/archives
Normal file
@ -0,0 +1,4 @@
|
||||
_/src/init
|
||||
_/src/cpu_load_display
|
||||
_/src/report_rom
|
||||
_/src/trace_subject_reporter
|
1
repos/gems/recipes/pkg/cpu_load_display/hash
Normal file
1
repos/gems/recipes/pkg/cpu_load_display/hash
Normal file
@ -0,0 +1 @@
|
||||
2023-01-23 54c4efeb97a0ffec7e8736a23f1c99f75db4e31c
|
69
repos/gems/recipes/pkg/cpu_load_display/runtime
Normal file
69
repos/gems/recipes/pkg/cpu_load_display/runtime
Normal file
@ -0,0 +1,69 @@
|
||||
<runtime ram="32M" caps="1100" binary="init">
|
||||
|
||||
<requires>
|
||||
<gui/>
|
||||
<trace/>
|
||||
<timer/>
|
||||
</requires>
|
||||
|
||||
<config>
|
||||
<parent-provides>
|
||||
<service name="ROM"/>
|
||||
<service name="PD"/>
|
||||
<service name="RM"/>
|
||||
<service name="CPU"/>
|
||||
<service name="LOG"/>
|
||||
<service name="TRACE"/>
|
||||
<service name="Gui"/>
|
||||
<service name="Timer"/>
|
||||
</parent-provides>
|
||||
|
||||
<default-route>
|
||||
<any-service> <parent/> <any-child/> </any-service>
|
||||
</default-route>
|
||||
|
||||
<default caps="100"/>
|
||||
|
||||
<start name="report_rom">
|
||||
<resource name="RAM" quantum="4M"/>
|
||||
<provides>
|
||||
<service name="Report"/>
|
||||
<service name="ROM"/>
|
||||
</provides>
|
||||
<config>
|
||||
<policy label="cpu_load_display -> trace_subjects"
|
||||
report="trace_subject_reporter -> trace_subjects"/>
|
||||
</config>
|
||||
</start>
|
||||
|
||||
<start name="trace_subject_reporter">
|
||||
<resource name="RAM" quantum="6M"/>
|
||||
<config period_ms="500">
|
||||
<report activity="yes" affinity="yes"/>
|
||||
</config>
|
||||
<route>
|
||||
<service name="Report"> <child name="report_rom"/> </service>
|
||||
<any-service> <parent/> <any-child/> </any-service>
|
||||
</route>
|
||||
</start>
|
||||
|
||||
<start name="cpu_load_display">
|
||||
<resource name="RAM" quantum="6M"/>
|
||||
<config/>
|
||||
<route>
|
||||
<service name="ROM" label="trace_subjects"> <child name="report_rom"/> </service>
|
||||
<any-service> <parent/> <any-child/> </any-service>
|
||||
</route>
|
||||
</start>
|
||||
|
||||
</config>
|
||||
|
||||
<content>
|
||||
<rom label="init"/>
|
||||
<rom label="ld.lib.so"/>
|
||||
<rom label="report_rom"/>
|
||||
<rom label="cpu_load_display"/>
|
||||
<rom label="trace_subject_reporter"/>
|
||||
</content>
|
||||
|
||||
</runtime>
|
Loading…
Reference in New Issue
Block a user