Meaningless Drivel is fun!*
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
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: 381

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
Understanding threads better?
Help convert rails 2 snippet to rails 3
continue blues
Need to understand about threading issues?