DebugViewPP icon indicating copy to clipboard operation
DebugViewPP copied to clipboard

Feature request: Elapsed time since last log item column

Open mriffey opened this issue 5 years ago • 7 comments

Recently I was working with another dev on some performance issues. At one point, i took the dbv++ output, pasted it into a blank email (to get the spacing formatted), then took that and pasted it into Excel. I then added a column for Elapsed time (this step) and added a formula to calculate for each line how much time had elapsed since the last log entry. A simple process, but kind of cumbersome.

Adding an elapsed time since last log entry column would be useful for such testing. Example screenshot below.

image

mriffey avatar Sep 06 '18 20:09 mriffey

A you aware of the 'clock icon' at then top of the screen ? It switches from system clock to 'delta time' using steady clock. 'delta time' displays elapsed time from the top of the view and the view can be reset to a certain line you want. The delta time is also more accurate, the system clock has a 16ms resolution, while the steady-clock has (on most systems) a sub-millisecond resolution.

Finally: delta-time does not 'change' when you happen to have:

  • a time-zone transitions
  • daylight saving time changes
  • a sync with a time-server (the system clock could move backwards in time)

The delta-time uses steady-clock to avoid all of this.

janwilmans avatar Sep 07 '18 04:09 janwilmans

Also: image

janwilmans avatar Sep 07 '18 08:09 janwilmans

Yep. Im talking about an additional column next to that which shows the time since the last log entry, not the current delta time since the log started. The screenshot I included shows that (created in excel) and the column to the left of the elapsed column in the screenshot is the delta time from a debugview log.

mriffey avatar Sep 07 '18 18:09 mriffey

Ah, right. sounds like that would not be too difficult to add, any suggestion how to fit it in the UI ? (menu-wise) ?

janwilmans avatar Sep 09 '18 19:09 janwilmans

Column-wise, Id put it next to the time column, regardless of format. Menu-wise, Id put it on View with the other time-related items.

mriffey avatar Sep 11 '18 04:09 mriffey

I have thought about this and I really like the idea

janwilmans avatar Oct 06 '18 11:10 janwilmans

Great news, Jan. Ill be happy to test it when it’s available.

mriffey avatar Oct 17 '18 15:10 mriffey