⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 systemclockspeedup.java

📁 Azureus is a powerful, full-featured, cross-platform java BitTorrent client
💻 JAVA
字号:
/*
 * Created on Apr 11, 2004
 * Created by Alon Rohter
 * Copyright (C) 2004 Aelitis, All Rights Reserved.
 * 
 */
package org.gudy.azureus2.core3.util.test;

import org.gudy.azureus2.core3.util.Debug;


public class SystemClockSpeedup {
	public static void main(String[] args) {
		for (int i=0; i < 20; i++) {
      new tester().start();
		}
	}
    
   
    
  public static class tester extends Thread {
    public void run() {
        try {
            int count = 0;
            while (true) {
                System.currentTimeMillis();
                count++;
                if (count == 30000) {
                    count = 0;
                    Thread.sleep(100);
                }
            }
        } catch (Exception e) {
        	Debug.printStackTrace( e );
        }
    }
  }

    
    
    
    
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -