Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Xfennec/progress
/ get_hlist_average
Function
get_hlist_average
hlist.c:77–85 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
75
}
76
77
int get_hlist_average(hlist *begin, int size) {
78
unsigned long long avg = 0;
79
80
while (begin) {
81
avg += begin->value;
82
begin = begin->next;
83
}
84
return avg / size;
85
}
Callers
1
monitor_processes
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected