File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Groovy and the fly likes How to compute delta time and lines per second when reinventing findstr/find/grep Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Languages » Groovy
Bookmark "How to compute delta time and lines per second when reinventing findstr/find/grep" Watch "How to compute delta time and lines per second when reinventing findstr/find/grep" New topic
Author

How to compute delta time and lines per second when reinventing findstr/find/grep

Siegfried Heintze
Ranch Hand

Joined: Aug 11, 2000
Posts: 376

This fragment of code is not working with Groovy 1.9.2-beta. The "/" seems to be causing the problem:


I know, my variable names need some work. jj is the number of lines. start is this start time and end is the end time. Computing the delta time works great. How do I compute lines/second?
Thanks
Siegfried

Here is the stack trace:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to compute delta time and lines per second when reinventing findstr/find/grep
 
Similar Threads
continue blues
Help convert rails 2 snippet to rails 3
Need to understand about threading issues?
Understanding threads better?