Bitsum Community Forum

General Category => Process Lasso => Topic started by: ColColonCleaner on May 30, 2018, 05:41:56 PM

Title: CPU Time sorting
Post by: ColColonCleaner on May 30, 2018, 05:41:56 PM
Hello All. Very simple bug report here. When sorting the 'CPU Time' column it gets sorted alphanumerically instead of the actual total time. As shown in the screenshot.

An ascending sort could be displayed as follows:
0:30
1:30
15:30
2:30
25:30
3:30

https://i.gyazo.com/d9c215f0474a90c89d1503f5c1ca240b.png

Cheers.
Title: Re: CPU Time sorting
Post by: edkiefer on May 30, 2018, 08:15:02 PM
Thanks for the report, could you give some more system data.
OS, CPU/model, your access level (admin, guest etc).

I am not seeing this issue but any extra info may help reproduce it here.
Title: Re: CPU Time sorting
Post by: ColColonCleaner on July 31, 2018, 02:56:45 PM
I have admin access on my machine. OS is windows 7 64 bit.

You will only start seeing this issue when process lasso has been open for more than a day or so. Processes which have more than 9 CPU hours, such that the first character in their hour count becomes 1 again, will be sorted in the same section as processes with only 1 hour of processor time. It's simply sorting the column alphanumerically instead of by raw duration.

Cheers.
Title: Re: CPU Time sorting
Post by: edkiefer on July 31, 2018, 05:12:56 PM
Quote from: ColColonCleaner on July 31, 2018, 02:56:45 PM
I have admin access on my machine. OS is windows 7 64 bit.

You will only start seeing this issue when process lasso has been open for more than a day or so. Processes which have more than 9 CPU hours, such that the first character in their hour count becomes 1 again, will be sorted in the same section as processes with only 1 hour of processor time. It's simply sorting the column alphanumerically instead of by raw duration.

Cheers.
Ok, thanks for the added info, we will look into it.
Title: Re: CPU Time sorting
Post by: Jeremy Collake on August 06, 2018, 03:17:55 PM
This appears to occur when the hour count (most-significant digit) is greater than 9, causing a sorting as text error because there are no leading zeros. I am fixing it up. Thanks for the report!
Title: Re: CPU Time sorting
Post by: Jeremy Collake on August 06, 2018, 03:48:18 PM
Fixed with proper time compare on this column in 9.0.0.461 beta.