lp:~sforshee/+junk/powerd-stats

Created by Seth Forshee and last modified
Get this branch:
bzr branch lp:~sforshee/+junk/powerd-stats
Only Seth Forshee can upload to this branch. If you are Seth Forshee please log in for upload directions.

Related bugs

Related blueprints

Branch information

Owner:
Seth Forshee
Status:
Development

Recent revisions

93. By Seth Forshee

stats: Use microseconds rather than nanoseconds for statistics

Nanoseconds is definitely overkill.

92. By Seth Forshee

powerd-cli: Add dispaly request statistics to stat command

91. By Seth Forshee

Add getDispRequestStats dbus API for fetching display request statistics

90. By Seth Forshee

stats: Fix display request active time accounting

Add missing agregation of display request active time when a
request is cleared.

89. By Seth Forshee

display-request: Fix use-after-free bug in display request accounting

When a display request is cleared, the accounting is currently
done after the request is freed. This means that the memory
holding the dbus owner string is also freed, but it is later
passed to the statistic code and can cause a segfault. Move the
accounting call to before the request is removed from the hash
and the storage freed.

88. By Seth Forshee

stats: Account currently active request when reporting stats

If a request is currently active when stats are requested via
dbus, an active request is not aggregated into the active and
max active times. This can't actually be aggregated until the
request is released, but go ahead and figure it into these
fields in the data we report.

87. By Seth Forshee

powerd-cli: Add initial support for "stats" command

The stats command will be used to print out statistics about
request use. Add an initial implementation which prints only
statistics about system requests. Display request statistics will
be added after the dbus interface has been defined.

86. By Seth Forshee

Add getSysRequestStat dbus interface for getting system request statistics

85. By Seth Forshee

stats: Fix tracking of active cout for display requests

84. By Seth Forshee

stats: Change types for time fields to guint64

Make them explicitly sized to ease passing over dbus.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers