| /linux/tools/testing/ktest/examples/bootconfigs/ |
| H A D | boottrace.bconf | 12 fields = "unsigned long func", "u64 lat" 14 keys = func.sym,lat 15 values = lat 16 sort = lat 25 var.lat = common_timestamp.usecs - $ts0 28 trace = initcall_latency, func, $lat
|
| /linux/fs/ceph/ |
| H A D | metric.c | 80 ktime_to_ceph_timespec(&read->lat, sum); in ceph_mdsc_send_metrics() 93 ktime_to_ceph_timespec(&write->lat, sum); in ceph_mdsc_send_metrics() 106 ktime_to_ceph_timespec(&meta->lat, sum); in ceph_mdsc_send_metrics() 329 ktime_t *sq_sump, ktime_t lat) in __update_mean_and_stdev() argument 334 *lavg = lat; in __update_mean_and_stdev() 337 avg = *lavg + div64_s64(lat - *lavg, total); in __update_mean_and_stdev() 338 *sq_sump += (lat - *lavg)*(lat - avg); in __update_mean_and_stdev() 347 ktime_t lat = ktime_sub(r_end, r_start); in ceph_update_metrics() local 357 m->latency_sum += lat; in ceph_update_metrics() 358 METRIC_UPDATE_MIN_MAX(m->latency_min, m->latency_max, lat); in ceph_update_metrics() [all …]
|
| H A D | metric.h | 75 struct ceph_timespec lat; member 84 struct ceph_timespec lat; member 93 struct ceph_timespec lat; member
|
| /linux/include/trace/events/ |
| H A 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/drivers/s390/scsi/ |
| H A D | zfcp_sysfs.c | 551 struct zfcp_latencies *lat = &zfcp_sdev->latencies; \ 555 spin_lock_bh(&lat->lock); \ 556 fsum = lat->_name.fabric.sum * adapter->timer_ticks; \ 557 fmin = lat->_name.fabric.min * adapter->timer_ticks; \ 558 fmax = lat->_name.fabric.max * adapter->timer_ticks; \ 559 csum = lat->_name.channel.sum * adapter->timer_ticks; \ 560 cmin = lat->_name.channel.min * adapter->timer_ticks; \ 561 cmax = lat->_name.channel.max * adapter->timer_ticks; \ 562 cc = lat->_name.counter; \ 563 spin_unlock_bh(&lat->lock); \ [all …]
|
| H A D | zfcp_fsf.c | 2326 static void zfcp_fsf_update_lat(struct zfcp_latency_record *lat_rec, u32 lat) in zfcp_fsf_update_lat() argument 2328 lat_rec->sum += lat; in zfcp_fsf_update_lat() 2329 lat_rec->min = min(lat_rec->min, lat); in zfcp_fsf_update_lat() 2330 lat_rec->max = max(lat_rec->max, lat); in zfcp_fsf_update_lat() 2336 struct zfcp_latency_cont *lat = NULL; in zfcp_fsf_req_trace() local 2361 lat = &zfcp_sdev->latencies.read; in zfcp_fsf_req_trace() 2366 lat = &zfcp_sdev->latencies.write; in zfcp_fsf_req_trace() 2369 lat = &zfcp_sdev->latencies.cmd; in zfcp_fsf_req_trace() 2373 if (lat) { in zfcp_fsf_req_trace() 2375 zfcp_fsf_update_lat(&lat->channel, lat_in->channel_lat); in zfcp_fsf_req_trace() [all …]
|
| /linux/tools/testing/selftests/net/ |
| H A 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/tools/testing/selftests/timers/ |
| H A D | .gitignore | 8 mqueue-lat 10 nsleep-lat 16 set-timer-lat
|
| /linux/include/dt-bindings/usb/ |
| H A D | pd.h | 341 #define VDO_CABLE(hw, fw, cbl, lat, term, tx1d, tx2d, rx1d, rx2d, cur, vps, sopp, usbss) \ argument 343 | ((lat) & 0x7) << 13 | ((term) & 0x3) << 11 | (tx1d) << 10 \ 346 #define VDO_PCABLE(hw, fw, ver, conn, lat, term, vbm, cur, spd) \ argument 348 | ((conn) & 0x3) << 18 | ((lat) & 0xf) << 13 | ((term) & 0x3) << 11 \ 350 #define VDO_ACABLE1(hw, fw, ver, conn, lat, term, vbm, sbu, sbut, cur, vbt, sopp, spd) \ argument 352 | ((conn) & 0x3) << 18 | ((lat) & 0xf) << 13 | ((term) & 0x3) << 11 \
|
| /linux/include/linux/usb/ |
| H A D | pd_vdo.h | 371 #define VDO_CABLE(hw, fw, cbl, lat, term, tx1d, tx2d, rx1d, rx2d, cur, vps, sopp, usbss) \ argument 373 | ((lat) & 0x7) << 13 | ((term) & 0x3) << 11 | (tx1d) << 10 \ 376 #define VDO_PCABLE(hw, fw, ver, conn, lat, term, vbm, cur, spd) \ argument 378 | ((conn) & 0x3) << 18 | ((lat) & 0xf) << 13 | ((term) & 0x3) << 11 \ 380 #define VDO_ACABLE1(hw, fw, ver, conn, lat, term, vbm, sbu, sbut, cur, vbt, sopp, spd) \ argument 382 | ((conn) & 0x3) << 18 | ((lat) & 0xf) << 13 | ((term) & 0x3) << 11 \
|
| /linux/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
| H A D | EventClass.py | 89 status, dla, dse, lat = struct.unpack('QQQQ', tmp_buf) 93 self.lat = lat
|
| /linux/arch/parisc/kernel/ |
| H A 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/drivers/staging/greybus/ |
| H A 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/arch/alpha/kernel/ |
| H A 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/drivers/ssb/ |
| H A D | driver_pcicore.c | 280 u8 lat; in ssb_pcicore_fixup_pcibridge() local 302 lat = 168; in ssb_pcicore_fixup_pcibridge() 305 pci_name(dev), lat); in ssb_pcicore_fixup_pcibridge() 306 pci_write_config_byte(dev, PCI_LATENCY_TIMER, lat); in ssb_pcicore_fixup_pcibridge()
|
| /linux/drivers/media/pci/bt8xx/ |
| H A D | bt878.c | 401 unsigned char lat; in bt878_probe() local 435 pci_read_config_byte(dev, PCI_LATENCY_TIMER, &lat); in bt878_probe() 442 bt->irq, lat, bt->bt878_adr); in bt878_probe()
|
| /linux/tools/perf/scripts/python/ |
| H A D | event_analyzing_sample.py | 104 event.ip, event.status, event.dse, event.dla, event.lat))
|
| /linux/tools/perf/tests/shell/attr/ |
| H A D | test-stat-default | 146 # PERF_TYPE_RAW / topdown-fetch-lat (0x8600)
|
| H A D | test-stat-detailed-1 | 148 # PERF_TYPE_RAW / topdown-fetch-lat (0x8600)
|
| H A D | test-stat-detailed-3 | 148 # PERF_TYPE_RAW / topdown-fetch-lat (0x8600)
|
| H A D | test-stat-detailed-2 | 148 # PERF_TYPE_RAW / topdown-fetch-lat (0x8600)
|
| /linux/tools/perf/ui/ |
| H A D | hist.c | 952 struct perf_hpp_fmt *fmt, *lat, *acc, *tmp; in perf_hpp__cancel_latency() local 960 lat = &perf_hpp__format[PERF_HPP__LATENCY]; in perf_hpp__cancel_latency() 964 if (fmt_equal(lat, fmt) || fmt_equal(acc, fmt)) in perf_hpp__cancel_latency() 974 if (fmt_equal(lat, fmt) || fmt_equal(acc, fmt)) in perf_hpp__cancel_latency()
|
| /linux/kernel/trace/ |
| H A D | trace_functions_graph.c | 1546 int lat = tr->trace_flags & TRACE_ITER(LATENCY_FMT); in __print_graph_headers_flags() local 1548 if (lat) in __print_graph_headers_flags() 1561 if (lat) in __print_graph_headers_flags() 1577 if (lat) in __print_graph_headers_flags()
|
| /linux/arch/sparc/kernel/ |
| H A D | smp_64.c | 209 long lat; /* estimate of itc adjustment latency */ in smp_synchronize_tick_client() member 238 t[i].lat = adjust_latency/4; in smp_synchronize_tick_client() 247 t[i].rt, t[i].master, t[i].diff, t[i].lat); in smp_synchronize_tick_client()
|
| /linux/drivers/pci/ |
| H A D | pci.c | 4119 u8 lat; in pcibios_set_master() local 4125 pci_read_config_byte(dev, PCI_LATENCY_TIMER, &lat); in pcibios_set_master() 4126 if (lat < 16) in pcibios_set_master() 4127 lat = (64 <= pcibios_max_latency) ? 64 : pcibios_max_latency; in pcibios_set_master() 4128 else if (lat > pcibios_max_latency) in pcibios_set_master() 4129 lat = pcibios_max_latency; in pcibios_set_master() 4133 pci_write_config_byte(dev, PCI_LATENCY_TIMER, lat); in pcibios_set_master()
|