Lines Matching refs:latency_record
63 static struct latency_record latency_record[MAXLR]; variable
97 memset(&p->latency_record, 0, sizeof(p->latency_record)); in clear_tsk_latency_tracing()
107 memset(&latency_record, 0, sizeof(latency_record)); in clear_global_latency_tracing()
113 struct latency_record *lat) in account_global_scheduler_latency()
126 if (!latency_record[i].backtrace[0]) { in account_global_scheduler_latency()
134 if (latency_record[i].backtrace[q] != record) { in account_global_scheduler_latency()
144 latency_record[i].count++; in account_global_scheduler_latency()
145 latency_record[i].time += lat->time; in account_global_scheduler_latency()
146 if (lat->time > latency_record[i].max) in account_global_scheduler_latency()
147 latency_record[i].max = lat->time; in account_global_scheduler_latency()
157 memcpy(&latency_record[i], lat, sizeof(struct latency_record)); in account_global_scheduler_latency()
181 struct latency_record lat; in __account_scheduler_latency()
204 struct latency_record *mylat; in __account_scheduler_latency()
207 mylat = &tsk->latency_record[i]; in __account_scheduler_latency()
237 memcpy(&tsk->latency_record[i], &lat, sizeof(struct latency_record)); in __account_scheduler_latency()
250 struct latency_record *lr = &latency_record[i]; in lstats_show()