incubator-giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Koontz (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GIRAPH-171) total time in MasterThread.run() is calculated incorrectly
Date Fri, 06 Apr 2012 01:02:21 GMT
total time in MasterThread.run() is calculated incorrectly
----------------------------------------------------------

                 Key: GIRAPH-171
                 URL: https://issues.apache.org/jira/browse/GIRAPH-171
             Project: Giraph
          Issue Type: Bug
            Reporter: Eugene Koontz
            Assignee: Eugene Koontz
         Attachments: GIRAPH-171.patch

While running PageMarkBenchMark, I was seeing in the output:

{{graph.MasterThread(172): total: Took 1.3336739262910001E9 seconds.}}

This was because currently, in {{MasterThread.run()}}, we have:

{code}
LOG.info("total: Took " +
 ((System.currentTimeMillis() / 1000.0d) -
 setupSecs) + " seconds.");
{code}

but it should be:

{code}
           LOG.info("total: Took " +
               ((System.currentTimeMillis() - startMillis) /
              1000.0d) + " seconds.");
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message