Lines Matching refs:plip
31 struct p_live_info *plip; member
144 gip->plip->nlives++; in p_live_visit()
160 struct p_live_info *plip = &pli; in p_live_get() local
162 .plip = plip, in p_live_get()
170 memset(plip, 0, sizeof(*plip)); in p_live_get()
174 if (plip->nlives == 0) { in p_live_get()
175 plip->avg_live = plip->avg_lull = plip->p_live = 0.0; in p_live_get()
177 else if (plip->nlives == 1) { in p_live_get()
178 plip->avg_lull = 0.0; in p_live_get()
179 plip->p_live = 100.0; in p_live_get()
185 plip->p_live = 100.0 * (tot_live / t_time); in p_live_get()
186 plip->avg_live = tot_live / plip->nlives; in p_live_get()
187 plip->avg_lull = (t_time - tot_live) / (plip->nlives - 1); in p_live_get()
190 return plip; in p_live_get()