import java.util.concurrent.TimeUnit;

public class TestTimeSystem {

    public static void main(String[] args) throws InterruptedException
    {
        int times = 100;

        for (int i = 0; i < times; i++) {
            TimeUnit.SECONDS.sleep(1);
            long m = System.currentTimeMillis();
            long n = Math.round(System.nanoTime() / 1e6);

            System.out.println(m + "\t" + n);
        }
    }
}
