knurling-rs / probe-run

Run embedded programs just like native ones
Apache License 2.0
645 stars 75 forks source link

Feature request: Timestamps on RTT messages #408

Open hlavaatch opened 1 year ago

hlavaatch commented 1 year ago

It would be useful to have an option to print timestamps as RTT messages are received, as a poor man's profiling tool. Show time relative to RTT connect time or last message on each message received when probe-run has --timestamps option.

Could also support pattern matching RTT messages for markers (i.e. mesure time between start and stop patterns matching in RTT messages, show time delta from receiving last message matching start pattern on each message matching end pattern)

Urhengulas commented 1 year ago

Hi @hlavaatch,

We have two open issues regarding profiling

If you think your use-case is covered by them please close this issue and comment there.