As process is usually called more often than update_cb, we should store the highest peak value until it is consumed by update_cb.