This was a bug, fixed as of Version 1.3.3 - April 21, 2010 according to release notes:
"Fixed an error where QuotaService.getCpuTimeInMegaCycles() was returning cycles instead of megacycles" On Mar 24, 1:32 am, Torquester <christian.schloem...@gmail.com> wrote: > I get values around 1000000, but according to the doc the value should > be in seconds. But I guess it's rather 1 / 100000 seconds or 1 / > 1000000 seconds (where the latter one seems to be more reasonable). > > following code: > > long start = qs.getCpuTimeInMegaCycles(); > //do something long running > long end = qs.getCpuTimeInMegaCycles(); > double cpuSeconds = qs.convertMegacyclesToCpuSeconds(end - start); > log.info("Time elapsed: " + String.valueOf(cpuSeconds)); > > will produce output: Time elapsed: 1775013.5633333332 -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.