add timestamp to upper-level interface

explicitly not added to publish_counter, since derivative with past values will be broken when using data from the past