flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-4422) Convert all time interval measurements to System.nanoTime()
Date Mon, 27 Feb 2017 03:46:45 GMT

    [ https://issues.apache.org/jira/browse/FLINK-4422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15885089#comment-15885089

ASF GitHub Bot commented on FLINK-4422:

Github user jinmingjian commented on the issue:

    another way is to modify the API to pass timeInNano. But considering all references are
named with test*. I suggest the conservative fix.

> Convert all time interval measurements to System.nanoTime()
> -----------------------------------------------------------
>                 Key: FLINK-4422
>                 URL: https://issues.apache.org/jira/browse/FLINK-4422
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Core
>            Reporter: Stephan Ewen
>            Assignee: Jin Mingjian
>            Priority: Minor
> In contrast to {{System.currentTimeMillis()}}, {{System.nanoTime()}} is monotonous. To
measure delays and time intervals, {{System.nanoTime()}} is hence reliable, while {{System.currentTimeMillis()}}
is not.

This message was sent by Atlassian JIRA

View raw message