#jython IRC Log (v0.9)

Index

IRC Log for 2012-04-05

Timestamps are in GMT/BST.

[1:38] * enebo (~enebo@71-215-210-193.mpls.qwest.net) has joined #jython
[1:40] * r0bby is now known as robbyoconnor
[1:42] * enebo (~enebo@71-215-210-193.mpls.qwest.net) Quit (Client Quit)
[1:45] * lheuer1 (~Adium@blfd-4d08f161.pool.mediaWays.net) has joined #jython
[1:47] * lheuer (~Adium@unaffiliated/lheuer) Quit (Ping timeout: 276 seconds)
[1:57] * enebo (~enebo@71-215-210-193.mpls.qwest.net) has joined #jython
[1:57] * enebo (~enebo@71-215-210-193.mpls.qwest.net) Quit (Client Quit)
[2:09] * GrahamDumpleton (~GrahamDum@ppp121-45-173-52.lns20.syd6.internode.on.net) has joined #jython
[2:09] <GrahamDumpleton> Is there any viable alternative to os.times() on Jython.
[2:20] * shashank (~shashank@174-16-109-174.hlrn.qwest.net) has joined #jython
[2:23] <sabi> GrahamDumpleton: if you want cpu time, you can try http://docs.oracle.com/javase/6/docs/api/java/lang/management/ThreadMXBean.html
[2:23] <sabi> >>> from java.lang.management import ManagementFactory
[2:23] <sabi> >>> ManagementFactory.getThreadMXBean().getCurrentThreadCpuTime()
[2:23] <sabi> 1730169000L
[2:24] <GrahamDumpleton> That is only per thread? From the ticket about os.times it raised that as problem from memory. That is, not so easy to get it across whole process.
[2:26] <sabi> yeah, i don't see anything that provides it for the entire JVM
[2:27] <GrahamDumpleton> Okay. I know others in company do do same thing for Java, so maybe they will now.
[2:27] <GrahamDumpleton> Thanks.
[2:27] <sabi> there's also getCurrentThreadUserTime() which you can use to see user vs system time. but that's about it.
[2:33] <GrahamDumpleton> Looks like my compatriots may be reaching down to /proc file system.
[2:38] <sabi> ah, yeah, if you don't care about being cross-platform, life gets much easier :)
[2:43] <sabi> oh lovely, it looks like it's actually implemented internally but not exposed. thanks java!
[2:43] <sabi> http://stackoverflow.com/a/47199/6372
[2:43] <sabi> oh, hrm, maybe it is exposed on unix... grr.
[2:44] <sabi> ManagementFactory.getOperatingSystemMXBean().getProcessCpuTime()
[2:44] <sabi> yea, that does something at least, although there's no corresponding user time
[4:13] * Urist_McTiktalik (znc@unaffiliated/tiktalik) Quit (Ping timeout: 250 seconds)
[4:15] * tikfreenode (znc@sg.freebnc.net) has joined #jython
[4:19] * clajo04_ (~clajo04_@pool-108-41-219-3.nycmny.fios.verizon.net) Quit (Ping timeout: 246 seconds)
[4:21] * clajo04_ (~clajo04_@pool-108-41-219-3.nycmny.fios.verizon.net) has joined #jython
[5:21] * lheuer1 is now known as lheuer
[5:52] * shashank (~shashank@174-16-109-174.hlrn.qwest.net) Quit (Ping timeout: 250 seconds)
[6:43] * tikfreenode (znc@sg.freebnc.net) Quit (Changing host)
[6:43] * tikfreenode (znc@unaffiliated/tiktalik) has joined #jython
[6:43] * tikfreenode is now known as Tiktalik
[7:40] * Trundle (~andy@python/site-packages/trundle) has joined #jython
[10:12] * juneau001 (~juneau@50.44.13.106) Quit (Ping timeout: 260 seconds)
[11:13] * juneau001 (~juneau@131.225.24.158) has joined #jython
[13:12] * enebo (~enebo@71-215-210-193.mpls.qwest.net) has joined #jython
[13:15] * clajo04_ (~clajo04_@pool-108-41-219-3.nycmny.fios.verizon.net) Quit (Ping timeout: 248 seconds)
[13:32] * wainersm (~wainersm@177.103.139.177) has joined #jython
[13:33] * wainersm (~wainersm@177.103.139.177) Quit (Client Quit)
[13:33] * wainersm (~wainersm@177.103.139.177) has joined #jython
[13:54] * BruceZu (~BruceZu@123.114.185.3) Quit (Quit: Leaving)
[13:59] * seletz (~seletz@HSI-KBW-078-042-237-238.hsi3.kabel-badenwuerttemberg.de) has joined #jython
[14:18] * shashank (~shashank@174-16-109-174.hlrn.qwest.net) has joined #jython
[14:21] * Trundle (~andy@python/site-packages/trundle) Quit (Remote host closed the connection)
[15:00] * shashank (~shashank@174-16-109-174.hlrn.qwest.net) Quit (Read error: Operation timed out)
[16:21] * wainersm_ (~wainersm@177.103.139.177) has joined #jython
[16:23] * wainersm (~wainersm@177.103.139.177) Quit (Ping timeout: 264 seconds)
[16:50] * seletz (~seletz@HSI-KBW-078-042-237-238.hsi3.kabel-badenwuerttemberg.de) Quit (Quit: seletz)
[18:05] * seletz (~seletz@HSI-KBW-078-042-237-238.hsi3.kabel-badenwuerttemberg.de) has joined #jython
[19:02] * enebo (~enebo@71-215-210-193.mpls.qwest.net) Quit (Quit: enebo)
[19:10] * juneau001 (~juneau@131.225.24.158) Quit (Quit: juneau001)
[19:12] * enebo (~enebo@71-215-210-193.mpls.qwest.net) has joined #jython
[20:32] * skay (~Adium@miparque/dev/skay) has joined #jython
[20:34] * wmeissner (~wmeissner@ppp59-167-223-31.static.internode.on.net) has joined #jython
[20:44] * skay (~Adium@miparque/dev/skay) has left #jython
[20:54] * lheuer (~Adium@blfd-4d08f161.pool.mediaWays.net) Quit (Ping timeout: 244 seconds)
[21:24] * seletz (~seletz@HSI-KBW-078-042-237-238.hsi3.kabel-badenwuerttemberg.de) Quit (Quit: seletz)
[21:34] * wainersm_ (~wainersm@177.103.139.177) Quit (Quit: Ex-Chat)
[22:06] * enebo (~enebo@71-215-210-193.mpls.qwest.net) Quit (Quit: enebo)
[22:08] * clajo04_ (~clajo04_@pool-108-41-219-3.nycmny.fios.verizon.net) has joined #jython
[22:13] * shashank (~shashank@c-98-245-167-68.hsd1.co.comcast.net) has joined #jython
[23:00] * shashank (~shashank@c-98-245-167-68.hsd1.co.comcast.net) Quit (Ping timeout: 240 seconds)
[23:23] * enebo (~enebo@71-215-210-193.mpls.qwest.net) has joined #jython
[23:42] * enebo (~enebo@71-215-210-193.mpls.qwest.net) Quit (Quit: enebo)

Index

These logs were automatically created by JythonLogBot_ on irc.freenode.net using a slightly modified version of the Java IRC LogBot (github).