Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Use genlop to display longest compile times recorded
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
John5788
Advocate
Advocate


Joined: 06 Apr 2004
Posts: 2140
Location: 127.0.0.1

PostPosted: Tue Dec 23, 2014 10:55 pm    Post subject: Use genlop to display longest compile times recorded Reply with quote

Has anyone written a script or a tool for genlop to display/sort the longest compile times recorded on the system?
_________________
John5788
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Mon Dec 29, 2014 10:04 am    Post subject: Reply with quote

if you query genlop to get an option to display times in number format instead of human readable one (x hours x minutes...) then you could parse the output thru sort and get that functionality.
so bugs.gentoo.org is where to query something.
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Mon Dec 29, 2014 2:25 pm    Post subject: Reply with quote

If you know some bash scripting, I think it should be possible to rip out the "my_genlop()" function from my "quietemerge" script. I think in that function you would have to replace the line 772 with something that does "max(tmp_sum, tmp - line)".

The output of this "my_genlop()" function is already in seconds, so it should help you. I had written this bash function because I needed something faster than genlop.
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum