first batch of passing attotime as const reference instead of copy - where possible (nw)