Lines Matching full:lat
112 struct latency_record *lat) in account_global_scheduler_latency() argument
131 unsigned long record = lat->backtrace[q]; in account_global_scheduler_latency()
144 latency_record[i].time += lat->time; in account_global_scheduler_latency()
145 if (lat->time > latency_record[i].max) in account_global_scheduler_latency()
146 latency_record[i].max = lat->time; in account_global_scheduler_latency()
156 memcpy(&latency_record[i], lat, sizeof(struct latency_record)); in account_global_scheduler_latency()
180 struct latency_record lat; in __account_scheduler_latency() local
191 memset(&lat, 0, sizeof(lat)); in __account_scheduler_latency()
192 lat.count = 1; in __account_scheduler_latency()
193 lat.time = usecs; in __account_scheduler_latency()
194 lat.max = usecs; in __account_scheduler_latency()
196 stack_trace_save_tsk(tsk, lat.backtrace, LT_BACKTRACEDEPTH, 0); in __account_scheduler_latency()
200 account_global_scheduler_latency(tsk, &lat); in __account_scheduler_latency()
208 unsigned long record = lat.backtrace[q]; in __account_scheduler_latency()
221 mylat->time += lat.time; in __account_scheduler_latency()
222 if (lat.time > mylat->max) in __account_scheduler_latency()
223 mylat->max = lat.time; in __account_scheduler_latency()
236 memcpy(&tsk->latency_record[i], &lat, sizeof(struct latency_record)); in __account_scheduler_latency()