Lines Matching full:latency
16 static void on_latency_changed(int32_t latency) in on_latency_changed() argument
18 if (latency == SYS_FOREVER_US) { in on_latency_changed()
19 LOG_INF("Latency constraint changed: none"); in on_latency_changed()
21 LOG_INF("Latency constraint changed: %" PRId32 "ms", in on_latency_changed()
22 latency / USEC_PER_MSEC); in on_latency_changed()
40 /* test without any latency constraint */ in main()
48 /* add an application level latency constraint */ in main()
49 LOG_INF("Setting latency constraint: 30ms"); in main()
60 /* open test device (adds its own latency constraint) */ in main()
64 /* test with application + driver latency constraints */ in main()
72 /* update application level latency constraint */ in main()
73 LOG_INF("Updating latency constraint: 10ms"); in main()
76 /* test with updated application + driver latency constraints */ in main()
84 /* restore application level latency constraint */ in main()
85 LOG_INF("Updating latency constraint: 30ms"); in main()
88 /* close test device (removes its own latency constraint) */ in main()
101 LOG_INF("Removing latency constraints"); in main()