What hardware is used by millis()?

Mainly for planning purposes I would like to know what hardware is used by millis().

Timer 0.