Home
last modified time | relevance | path

Searched full:lat (Results 1 – 25 of 107) sorted by relevance

12345

/linux-6.15/Documentation/trace/
Dhistogram.rst1825 with 3 fields: lat, pid, and prio. Each of those fields is simply a
1829 u64 lat; \
1838 wakeup_latency u64 lat; pid_t pid; int prio
1843 # echo '!wakeup_latency u64 lat pid_t pid int prio' >> \
1861 # echo 'hist:keys=pid,prio,lat.log2:sort=lat' >> \
1864 The above shows the latency "lat" in a power of 2 grouping.
1873 # trigger info: hist:keys=pid,prio,lat.log2:vals=hitcount:sort=lat.log2:size=2048 [active]
1876 { pid: 2035, prio: 9, lat: ~ 2^2 } hitcount: 43
1877 { pid: 2034, prio: 9, lat: ~ 2^2 } hitcount: 60
1878 { pid: 2029, prio: 9, lat: ~ 2^2 } hitcount: 965
[all …]
Dboottime-trace.rst224 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/drivers/media/platform/mediatek/vcodec/decoder/
Dvdec_msg_queue.h37 * @ready_queue: list of ready lat buffer queues
38 * @ready_lock: spin lock to protect the lat buffer usage
45 /* protect lat buffer */
52 * struct vdec_lat_buf - lat buffer message used to store lat info for core decode
53 * @wdma_err_addr: wdma error address used for lat hardware
54 * @slice_bc_addr: slice bc address used for lat hardware
55 * @rd_mv_addr: mv addr for av1 lat hardware output, core hardware input
60 * @private_data: shared information used to lat and core hardware
63 * @lat_list: add lat buffer to lat head list
64 * @core_list: add lat buffer to core head list
[all …]
/linux-6.15/Documentation/devicetree/bindings/media/
Dmediatek,vcodec-subdev-decoder.yaml21 | input -> LAT-SoC HW -> LAT HW -> LAT buffer --|--> Core HW -> output buffer |
24 LAT Workqueue | Core Workqueue <parent>
31 | (lat/lat-soc/core0/core1) |
35 pipeline, such as LAT-SoC, LAT and Core.
45 1. LAT Workqueue, for LAT-SoC and LAT decoder:
46 Its workers take input bitstream and LAT buffer, enable the hardware for
47 decoding tasks, write the result to LAT buffer, and disable the hardware
48 after the LAT decoding is done.
50 Its workers take LAT buffer and output buffer, enable the hardware for
61 LAT-SoC refers to another hardware block that connected to additional LARB
[all …]
/linux-6.15/tools/testing/selftests/ftrace/test.d/trigger/inter-event/
Dtrigger-inter-event-combined-hist.tc13 echo 'waking_latency u64 lat pid_t pid' > synthetic_events
22 echo 'hist:keys=pid,lat:sort=pid,lat' > events/synthetic/waking_latency/trigger
24 echo 'wakeup_latency u64 lat pid_t pid' >> synthetic_events
28 echo 'waking_plus_wakeup_latency u64 lat; pid_t pid' >> synthetic_events
29 echo 'hist:keys=pid,lat:sort=pid,lat:ww_lat=$waking_lat+$wakeup_lat:onmatch(synthetic.wakeup_latenc…
30 echo 'hist:keys=pid,lat:sort=pid,lat' >> events/synthetic/waking_plus_wakeup_latency/trigger
Dtrigger-synthetic-event-dynstring.tc13 echo 'ping_test_latency u64 lat; char filename[]' > synthetic_events
22 echo 'hist:key=pid:lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_process_exec).ping_test_late…
23 echo 'hist:keys=filename,lat:sort=filename,lat' > events/synthetic/ping_test_latency/trigger
Dtrigger-onmatch-action-hist.tc13 echo 'wakeup_latency u64 lat pid_t pid char comm[16]' > synthetic_events
23 echo 'hist:keys=comm,pid,lat:wakeup_lat=lat:sort=lat' > events/synthetic/wakeup_latency/trigger
Dtrigger-trace-action-hist.tc13 echo 'wakeup_latency u64 lat pid_t pid char comm[16]' > synthetic_events
23 echo 'hist:keys=comm,pid,lat:wakeup_lat=lat:sort=lat' > events/synthetic/wakeup_latency/trigger
Dtrigger-onmatch-onmax-action-hist.tc13 echo 'wakeup_latency u64 lat pid_t pid char comm[16]' > synthetic_events
23 echo 'hist:keys=comm,pid,lat:wakeup_lat=lat:sort=lat' > events/synthetic/wakeup_latency/trigger
Dtrigger-synthetic-event-createremove.tc13 echo 'wakeup_latency u64 lat pid_t pid char comm[16]' > synthetic_events
21 echo '!wakeup_latency u64 lat pid_t pid char comm[16]' >> synthetic_events
29 echo 'wakeup_latency u64 lat pid_t pid char' > synthetic_events > /dev/null
/linux-6.15/kernel/
Dlatencytop.c112 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()
[all …]
/linux-6.15/tools/testing/ktest/examples/bootconfigs/
Dboottrace.bconf12 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
Dverify-boottrace.sh55 …ial "events/synthetic/initcall_latency/trigger" "hist:keys=func.sym,lat:vals=hitcount,lat:sort=lat"
61 …itcount:lat=common_timestamp.usecs-\$ts0:sort=hitcount:size=2048:clock=global:onmatch(initcall.ini…
/linux-6.15/tools/testing/selftests/ftrace/test.d/trigger/
Dtrigger-trace-marker-synthetic-kernel.tc14 echo 'latency u64 lat' > synthetic_events
16 echo 'hist:keys=common_pid:lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_waking).latency($lat
17 echo 'hist:keys=common_pid,lat:sort=lat' > events/synthetic/latency/trigger
Dtrigger-trace-marker-synthetic.tc14 echo 'latency u64 lat' > synthetic_events
16 echo 'hist:keys=common_pid:lat=common_timestamp.usecs-$ts0:onmatch(ftrace.print).latency($lat) if b…
17 echo 'hist:keys=common_pid,lat:sort=lat' > events/synthetic/latency/trigger
/linux-6.15/fs/ceph/
Dmetric.c80 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()
336 /* the sq is (lat - old_avg) * (lat - new_avg) */ 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()
[all …]
/linux-6.15/include/trace/events/
Dwbt.h57 * @lat: latency trigger
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/tools/testing/selftests/ftrace/test.d/dynevent/
Dgeneric_clear_event.tc13 echo "s:latency1 u64 lat; pid_t pid;" >> dynamic_events
15 echo "s:latency2 u64 lat; pid_t pid;" >> dynamic_events
31 echo "!s:latency1 u64 lat; pid_t pid;" >> dynamic_events
40 echo "!s:latency2 u64 lat; pid_t pid;" >> dynamic_events
/linux-6.15/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 …]
/linux-6.15/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()
77 printf("port: %d, lat: %lu, avg: %lu, nr: %lu\n", in client()
78 ntohs(laddr.sin_port), lat, in client()
/linux-6.15/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-6.15/tools/perf/scripts/python/
Devent_analyzing_sample.py66 lat integer
104 event.ip, event.status, event.dse, event.dla, event.lat))
186 latq = con.execute("select lat, count(lat) from pebs_ll group by lat order by lat")
/linux-6.15/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DEventClass.py83 # LAT: the actual latency in cycles
89 status, dla, dse, lat = struct.unpack('QQQQ', tmp_buf)
93 self.lat = lat
/linux-6.15/sound/soc/codecs/
Dwm8741.h44 #define WM8741_LAT_4_0_MASK 0x001F /* LAT[4:0] - [4:0] */
45 #define WM8741_LAT_4_0_SHIFT 0 /* LAT[4:0] - [4:0] */
46 #define WM8741_LAT_4_0_WIDTH 5 /* LAT[4:0] - [4:0] */
55 #define WM8741_LAT_9_5_0_MASK 0x001F /* LAT[9:5] - [4:0] */
56 #define WM8741_LAT_9_5_0_SHIFT 0 /* LAT[9:5] - [4:0] */
57 #define WM8741_LAT_9_5_0_WIDTH 5 /* LAT[9:5] - [4:0] */

12345