wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 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:
 
wood burning stoves
 
subject: How to compute delta time and lines per second when reinventing findstr/find/grep
 
Similar Threads
continue blues
Need to understand about threading issues?
Help convert rails 2 snippet to rails 3
Understanding threads better?