Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Siegfried Heintze
Ranch Hand
Posts: 417
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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:
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!