/Linux-v5.10/kernel/ |
D | latencytop.c | 87 struct latency_record *lat) in account_global_scheduler_latency() argument 106 unsigned long record = lat->backtrace[q]; in account_global_scheduler_latency() 119 latency_record[i].time += lat->time; in account_global_scheduler_latency() 120 if (lat->time > latency_record[i].max) in account_global_scheduler_latency() 121 latency_record[i].max = lat->time; in account_global_scheduler_latency() 131 memcpy(&latency_record[i], lat, sizeof(struct latency_record)); in account_global_scheduler_latency() 155 struct latency_record lat; in __account_scheduler_latency() local 166 memset(&lat, 0, sizeof(lat)); in __account_scheduler_latency() 167 lat.count = 1; in __account_scheduler_latency() 168 lat.time = usecs; in __account_scheduler_latency() [all …]
|
/Linux-v5.10/Documentation/trace/ |
D | histogram.rst | 1798 with 3 fields: lat, pid, and prio. Each of those fields is simply a 1802 u64 lat; \ 1811 wakeup_latency u64 lat; pid_t pid; int prio 1816 # echo '!wakeup_latency u64 lat pid_t pid int prio' >> \ 1828 # echo 'hist:keys=pid,prio,lat.log2:sort=pid,lat' >> \ 1979 # echo 'wakeup_latency u64 lat; pid_t pid; int prio' >> \ 2002 # echo 'hist:keys=pid,prio,lat:sort=pid,lat' >> \ 2300 # echo 'latency u64 lat' > synthetic_events 2302 …# echo 'hist:keys=common_pid:lat=common_timestamp.usecs-$ts0:onmatch(ftrace.print).latency($lat) i… 2303 # echo 'hist:keys=lat,common_pid:sort=lat' > events/synthetic/latency/trigger [all …]
|
D | boottime-trace.rst | 155 fields = "unsigned long func", "u64 lat" 156 actions = "hist:keys=func.sym,lat:vals=lat:sort=lat" 162 …actions = "hist:keys=func:lat=common_timestamp.usecs-$ts0:onmatch(initcall.initcall_start).initcal…
|
/Linux-v5.10/fs/ceph/ |
D | metric.c | 242 ktime_t *sq_sump, ktime_t lat) in __update_latency() argument 247 lsum = (*lsump += lat); in __update_latency() 249 if (unlikely(lat < *min)) in __update_latency() 250 *min = lat; in __update_latency() 251 if (unlikely(lat > *max)) in __update_latency() 252 *max = lat; in __update_latency() 258 avg = DIV64_U64_ROUND_CLOSEST((lsum - lat), (total - 1)); in __update_latency() 259 sq = lat - avg; in __update_latency() 261 sq = sq * (lat - avg); in __update_latency() 269 ktime_t lat = ktime_sub(r_end, r_start); in ceph_update_read_latency() local [all …]
|
/Linux-v5.10/include/trace/events/ |
D | wbt.h | 61 TP_PROTO(struct backing_dev_info *bdi, unsigned long lat), 63 TP_ARGS(bdi, lat), 67 __field(unsigned long, lat) 73 __entry->lat = div_u64(lat, 1000); 77 (unsigned long long) __entry->lat)
|
/Linux-v5.10/tools/testing/selftests/timers/ |
D | .gitignore | 8 mqueue-lat 10 nsleep-lat 16 set-timer-lat
|
D | Makefile | 7 TEST_GEN_PROGS = posix_timers nanosleep nsleep-lat set-timer-lat mqueue-lat \
|
/Linux-v5.10/tools/testing/selftests/net/ |
D | fin_ack_lat.c | 37 unsigned long lat, sum_lat = 0, nr_lat = 0; in client() local 69 lat = timediff(start, end); in client() 70 sum_lat += lat; in client() 72 if (lat < 100000) in client() 78 ntohs(laddr.sin_port), lat, in client()
|
/Linux-v5.10/drivers/s390/scsi/ |
D | zfcp_sysfs.c | 550 struct zfcp_latencies *lat = &zfcp_sdev->latencies; \ 554 spin_lock_bh(&lat->lock); \ 555 fsum = lat->_name.fabric.sum * adapter->timer_ticks; \ 556 fmin = lat->_name.fabric.min * adapter->timer_ticks; \ 557 fmax = lat->_name.fabric.max * adapter->timer_ticks; \ 558 csum = lat->_name.channel.sum * adapter->timer_ticks; \ 559 cmin = lat->_name.channel.min * adapter->timer_ticks; \ 560 cmax = lat->_name.channel.max * adapter->timer_ticks; \ 561 cc = lat->_name.counter; \ 562 spin_unlock_bh(&lat->lock); \ [all …]
|
D | zfcp_fsf.c | 2306 static void zfcp_fsf_update_lat(struct zfcp_latency_record *lat_rec, u32 lat) in zfcp_fsf_update_lat() argument 2308 lat_rec->sum += lat; in zfcp_fsf_update_lat() 2309 lat_rec->min = min(lat_rec->min, lat); in zfcp_fsf_update_lat() 2310 lat_rec->max = max(lat_rec->max, lat); in zfcp_fsf_update_lat() 2316 struct zfcp_latency_cont *lat = NULL; in zfcp_fsf_req_trace() local 2341 lat = &zfcp_sdev->latencies.read; in zfcp_fsf_req_trace() 2346 lat = &zfcp_sdev->latencies.write; in zfcp_fsf_req_trace() 2349 lat = &zfcp_sdev->latencies.cmd; in zfcp_fsf_req_trace() 2353 if (lat) { in zfcp_fsf_req_trace() 2355 zfcp_fsf_update_lat(&lat->channel, lat_in->channel_lat); in zfcp_fsf_req_trace() [all …]
|
/Linux-v5.10/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
D | EventClass.py | 89 status, dla, dse, lat = struct.unpack('QQQQ', tmp_buf) 93 self.lat = lat
|
/Linux-v5.10/arch/parisc/kernel/ |
D | pci.c | 148 u8 lat; in pcibios_set_master() local 151 pci_read_config_byte(dev, PCI_LATENCY_TIMER, &lat); in pcibios_set_master() 152 if (lat >= 16) return; in pcibios_set_master()
|
/Linux-v5.10/include/linux/usb/ |
D | pd_vdo.h | 204 #define VDO_CABLE(hw, fw, cbl, gdr, lat, term, tx1d, tx2d, rx1d, rx2d, cur,\ argument 207 | (gdr) << 17 | ((lat) & 0x7) << 13 | ((term) & 0x3) << 11 \
|
/Linux-v5.10/drivers/staging/greybus/ |
D | loopback.c | 780 u32 lat; in gb_loopback_calculate_latency_stats() local 783 lat = gb_loopback_nsec_to_usec_latency(gb->elapsed_nsecs); in gb_loopback_calculate_latency_stats() 786 gb_loopback_update_stats(&gb->latency, lat); in gb_loopback_calculate_latency_stats() 789 kfifo_in(&gb->kfifo_lat, (unsigned char *)&lat, sizeof(lat)); in gb_loopback_calculate_latency_stats() 801 u32 lat; in gb_loopback_calculate_stats() local 812 lat = gb_loopback_nsec_to_usec_latency(nlat); in gb_loopback_calculate_stats() 814 gb_loopback_throughput_update(gb, lat); in gb_loopback_calculate_stats() 815 gb_loopback_requests_update(gb, lat); in gb_loopback_calculate_stats()
|
/Linux-v5.10/arch/alpha/kernel/ |
D | pci.c | 276 u8 lat; in pcibios_set_master() local 277 pci_read_config_byte(dev, PCI_LATENCY_TIMER, &lat); in pcibios_set_master() 278 if (lat >= 16) return; in pcibios_set_master()
|
/Linux-v5.10/drivers/media/pci/bt8xx/ |
D | bt878.c | 400 unsigned char lat; in bt878_probe() local 434 pci_read_config_byte(dev, PCI_LATENCY_TIMER, &lat); in bt878_probe() 441 bt->irq, lat, bt->bt878_adr); in bt878_probe()
|
/Linux-v5.10/drivers/ssb/ |
D | driver_pcicore.c | 278 u8 lat; in ssb_pcicore_fixup_pcibridge() local 300 lat = 168; in ssb_pcicore_fixup_pcibridge() 303 pci_name(dev), lat); in ssb_pcicore_fixup_pcibridge() 304 pci_write_config_byte(dev, PCI_LATENCY_TIMER, lat); in ssb_pcicore_fixup_pcibridge()
|
/Linux-v5.10/arch/ia64/kernel/ |
D | smpboot.c | 283 long lat; /* estimate of itc adjustment latency */ in ia64_sync_itc() member 327 t[i].lat = adjust_latency/4; in ia64_sync_itc() 336 t[i].rt, t[i].master, t[i].diff, t[i].lat); in ia64_sync_itc()
|
/Linux-v5.10/tools/perf/scripts/python/ |
D | event_analyzing_sample.py | 104 event.ip, event.status, event.dse, event.dla, event.lat))
|
/Linux-v5.10/kernel/trace/ |
D | trace_functions_graph.c | 1138 int lat = tr->trace_flags & TRACE_ITER_LATENCY_FMT; in __print_graph_headers_flags() local 1140 if (lat) in __print_graph_headers_flags() 1153 if (lat) in __print_graph_headers_flags() 1169 if (lat) in __print_graph_headers_flags()
|
/Linux-v5.10/drivers/atm/ |
D | ambassador.c | 2160 unsigned char lat; in setup_pci_dev() local 2166 pci_read_config_byte (pci_dev, PCI_LATENCY_TIMER, &lat); in setup_pci_dev() 2169 pci_lat = (lat < MIN_PCI_LATENCY) ? MIN_PCI_LATENCY : lat; in setup_pci_dev() 2171 if (lat != pci_lat) { in setup_pci_dev() 2173 lat, pci_lat); in setup_pci_dev()
|
D | horizon.c | 2617 unsigned char lat; in hrz_probe() local 2672 pci_read_config_byte(pci_dev, PCI_LATENCY_TIMER, &lat); in hrz_probe() 2675 "changing", lat, pci_lat); in hrz_probe() 2677 } else if (lat < MIN_PCI_LATENCY) { in hrz_probe() 2679 "increasing", lat, MIN_PCI_LATENCY); in hrz_probe()
|
/Linux-v5.10/arch/sparc/kernel/ |
D | smp_64.c | 212 long lat; /* estimate of itc adjustment latency */ in smp_synchronize_tick_client() member 241 t[i].lat = adjust_latency/4; in smp_synchronize_tick_client() 250 t[i].rt, t[i].master, t[i].diff, t[i].lat); in smp_synchronize_tick_client()
|
/Linux-v5.10/block/ |
D | blk-throttle.c | 2329 unsigned long lat; in blk_throtl_bio_endio() local 2347 lat = finish_time - start_time; in blk_throtl_bio_endio() 2351 bio_op(bio), lat); in blk_throtl_bio_endio() 2353 if (tg->latency_target && lat >= tg->td->filtered_latency) { in blk_throtl_bio_endio() 2360 if (lat > threshold) in blk_throtl_bio_endio()
|
/Linux-v5.10/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_debugfs.c | 706 u64 req, out_req, lat, cant_alloc; in ndc_cache_stats() local 713 lat = rvu_read64(rvu, blk_addr, NDC_AF_PORTX_RTX_RWX_LAT_PC in ndc_cache_stats() 723 seq_printf(s, "\tTotal Time Taken:\t%lld cycles\n", lat); in ndc_cache_stats() 724 seq_printf(s, "\tAvg Latency:\t\t%lld cycles\n", lat / req); in ndc_cache_stats()
|