pipewire/src/modules/module-client-node
Wim Taymans 3cae535da0 impl-node: calculate stats at cycle start
Calculate the stats at the start of the new cycle. The results will be
about the previous cycle but this gives more accurate results because
we can also include awake and finish times of remote nodes.

Make sure not to change the status of the activation in the ready event
so that we don't overwrite the status of the last cycle yet.

This means we can always set the AWAKE and awake_time, the remote node
might update it when triggered but that's ok.

After processing we can update the FINISHED state for non-remote nodes,
the remote nodes will update it after they complete the process
function.
2023-04-27 09:34:07 +02:00
..
v0 treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
client-node.c client-node: pass the ready status in the activation state 2023-04-26 15:56:29 +02:00
client-node.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
protocol-native.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
remote-node.c impl-node: calculate stats at cycle start 2023-04-27 09:34:07 +02:00