| /linux-6.15/kernel/ |
| H A D | latencytop.c | 112 struct latency_record *lat) in account_global_scheduler_latency() argument 144 latency_record[i].time += lat->time; in account_global_scheduler_latency() 146 latency_record[i].max = lat->time; 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() 221 mylat->time += lat.time; in __account_scheduler_latency() 222 if (lat.time > mylat->max) in __account_scheduler_latency() [all …]
|
| /linux-6.15/Documentation/trace/ |
| H A D | histogram.rst | 1829 u64 lat; \ 1861 # echo 'hist:keys=pid,prio,lat.log2:sort=lat' >> \ 1873 # trigger info: hist:keys=pid,prio,lat.log2:vals=hitcount:sort=lat.log2:size=2048 [active] 1916 # echo 'hist:keys=pid,prio,lat.buckets=10:sort=lat' >> \ 1921 …# trigger info: hist:keys=pid,prio,lat.buckets=10:vals=hitcount:sort=lat.buckets=10:size=2048 [act… 2259 # echo 'hist:keys=pid,prio,lat:sort=pid,lat' >> \ 2557 # echo 'latency u64 lat' > synthetic_events 2560 # echo 'hist:keys=lat,common_pid:sort=lat' > events/synthetic/latency/trigger 2589 # trigger info: hist:keys=lat,common_pid:vals=hitcount:sort=lat:size=2048 [active] 2891 # echo 'hist:keys=lat,common_pid:sort=lat' > events/synthetic/latency/trigger [all …]
|
| H A D | boottime-trace.rst | 224 fields = "unsigned long func", "u64 lat" 226 keys = func.sym, lat 227 values = lat 228 sort = lat 237 var.lat = common_timestamp.usecs - $ts0 240 trace = initcall_latency, func, $lat
|
| /linux-6.15/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-6.15/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-6.15/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-6.15/tools/testing/selftests/timers/ |
| H A D | .gitignore | 8 mqueue-lat 10 nsleep-lat 16 set-timer-lat
|
| H A D | Makefile | 7 TEST_GEN_PROGS = posix_timers nanosleep nsleep-lat set-timer-lat mqueue-lat \
|
| /linux-6.15/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-6.15/drivers/s390/scsi/ |
| H A D | zfcp_sysfs.c | 554 spin_lock_bh(&lat->lock); \ 561 cc = lat->_name.counter; \ 562 spin_unlock_bh(&lat->lock); \ 584 spin_lock_irqsave(&lat->lock, flags); \ 585 lat->_name.fabric.sum = 0; \ 586 lat->_name.fabric.min = 0xFFFFFFFF; \ 587 lat->_name.fabric.max = 0; \ 588 lat->_name.channel.sum = 0; \ 589 lat->_name.channel.min = 0xFFFFFFFF; \ 590 lat->_name.channel.max = 0; \ [all …]
|
| H A D | zfcp_fsf.c | 2329 lat_rec->sum += lat; in zfcp_fsf_update_lat() 2330 lat_rec->min = min(lat_rec->min, lat); in zfcp_fsf_update_lat() 2331 lat_rec->max = max(lat_rec->max, lat); in zfcp_fsf_update_lat() 2337 struct zfcp_latency_cont *lat = NULL; in zfcp_fsf_req_trace() local 2362 lat = &zfcp_sdev->latencies.read; in zfcp_fsf_req_trace() 2367 lat = &zfcp_sdev->latencies.write; in zfcp_fsf_req_trace() 2370 lat = &zfcp_sdev->latencies.cmd; in zfcp_fsf_req_trace() 2374 if (lat) { in zfcp_fsf_req_trace() 2376 zfcp_fsf_update_lat(&lat->channel, lat_in->channel_lat); in zfcp_fsf_req_trace() 2377 zfcp_fsf_update_lat(&lat->fabric, lat_in->fabric_lat); in zfcp_fsf_req_trace() [all …]
|
| /linux-6.15/Documentation/devicetree/bindings/media/ |
| H A D | mediatek,vcodec-subdev-decoder.yaml | 31 | (lat/lat-soc/core0/core1) | 116 - mediatek,mtk-vcodec-lat 117 - mediatek,mtk-vcodec-lat-soc 175 - mediatek,mtk-vcodec-lat 194 - const: soc-lat 210 - const: lat 237 compatible = "mediatek,mtk-vcodec-lat"; 253 clock-names = "sel", "soc-vdec", "soc-lat", "vdec", "top"; 279 clock-names = "sel", "soc-vdec", "soc-lat", "vdec", "top";
|
| /linux-6.15/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-6.15/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-6.15/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-6.15/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-6.15/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-6.15/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-6.15/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-6.15/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-6.15/tools/perf/scripts/python/ |
| H A D | event_analyzing_sample.py | 104 event.ip, event.status, event.dse, event.dla, event.lat))
|
| /linux-6.15/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-2 | 148 # PERF_TYPE_RAW / topdown-fetch-lat (0x8600)
|