[request] Knowledgebase: Klippy's timing variables

Klipper has a lot of timing variables in Klippy, and so far three of them are described: Code overview - Klipper documentation

Timing is central to Klipper, and minimal descriptions of the related variables and constants would be very helpful.

I’d like invite the wise and interested parties to comment on the timing variables in Klippy, including but not limited to:

  • LOOKAHEAD_FLUSH_TIME
  • flush_time, flush_timer
  • MIN_KIN_TIME
  • MOVE_BATCH_TIME
  • SDS_CHECK_TIME
  • DRIP_SEGMENT_TIME
  • DRIP_TIME
  • buffer_time_low, buffer_time_high, buffer_time_start
  • move_flush_time
  • print_time
  • idle_flush_print_time
  • kin_flush_delay
  • kin_flush_times
  • force_flush_time
  • last_kin_move_time
  • stall_time

This information will be very helpful for new contributors studying the source code, and is a good candidate entry for the knowledgebase category.

Best
N.

3 Likes

I second this request.

Kind regards, hcet14

1 Like

I’ve written a bit in my post:

If you need more info let me know, I do not know much more than the outcome of my code implementations.

2 Likes

Might be worth it to submit a pull request with the source code documented.

It would certainly help me when reading through it, and the documentation generators can pick it up automatically in the future.

1 Like