Add of a call to a get_timestamp between layers in the generated code (extern macro or sub template).