Home
last modified time | relevance | path

Searched refs:lat (Results 1 – 25 of 36) sorted by relevance

12

/Linux-v5.10/kernel/
Dlatencytop.c87 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/
Dhistogram.rst1798 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 …]
Dboottime-trace.rst155 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/
Dmetric.c242 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/
Dwbt.h61 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.gitignore8 mqueue-lat
10 nsleep-lat
16 set-timer-lat
DMakefile7 TEST_GEN_PROGS = posix_timers nanosleep nsleep-lat set-timer-lat mqueue-lat \
/Linux-v5.10/tools/testing/selftests/net/
Dfin_ack_lat.c37 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/
Dzfcp_sysfs.c550 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 …]
Dzfcp_fsf.c2306 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/
DEventClass.py89 status, dla, dse, lat = struct.unpack('QQQQ', tmp_buf)
93 self.lat = lat
/Linux-v5.10/arch/parisc/kernel/
Dpci.c148 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/
Dpd_vdo.h204 #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/
Dloopback.c780 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/
Dpci.c276 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/
Dbt878.c400 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/
Ddriver_pcicore.c278 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/
Dsmpboot.c283 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/
Devent_analyzing_sample.py104 event.ip, event.status, event.dse, event.dla, event.lat))
/Linux-v5.10/kernel/trace/
Dtrace_functions_graph.c1138 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/
Dambassador.c2160 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()
Dhorizon.c2617 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/
Dsmp_64.c212 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/
Dblk-throttle.c2329 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/
Drvu_debugfs.c706 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()

12