Lines Matching +full:100 +full:ms
72 /* We come here every 100ms in the worst case, so that's 100M ns of in led_activity_function()
86 usage = 100; in led_activity_function()
88 usage = 100 * diff_used / diff_boot; in led_activity_function()
99 * (typically 10ms every second, or 10ms ON, 990ms OFF). Then we want in led_activity_function()
103 * cycle (10ms ON, 90ms OFF). After this point, the blinking frequency in led_activity_function()
105 * the activity, up to the point where we have 90ms ON, 10ms OFF when in led_activity_function()
111 * - a target CPU usage of min(50%, 100%/#CPU) for a 10% duty cycle in led_activity_function()
112 * (10ms ON, 90ms OFF) in led_activity_function()
117 * ON_ms = 10 + (usage-target)/(100%-target) * 80 in led_activity_function()
118 * OFF_ms = 90 - (usage-target)/(100%-target) * 80 in led_activity_function()
121 * 100 ms and keep track of the sleep time left. This allows us to in led_activity_function()
125 activity_data->time_left -= 100; in led_activity_function()
134 target = (cpus > 1) ? (100 / cpus) : 50; in led_activity_function()
142 10 + 80 * (usage - target) / (100 - target) : /* ON */ in led_activity_function()
143 90 - 80 * (usage - target) / (100 - target); /* OFF */ in led_activity_function()
149 delay = min_t(int, activity_data->time_left, 100); in led_activity_function()