// Path: aisen_downloader/src/main/java/org/aiwen/downloader/utils/Utils.java
// public static long realtime() {
//     return SystemClock.elapsedRealtime();
// }


import static org.aiwen.downloader.utils.Utils.realtime;
package org.aiwen.downloader;


/**
 * Created by 王dan on 2016/12/21.
 */
public class ThreadTrace {

    final Request request;

    private long connectS;

    private long connectE;

    private long readS;

    private long readE;

    float speed;// 下载速度

    private float averageSpeed;// 平均下载速度

    private long speedCountS;

    private long speedCountE;

    private long[] speedCount;

    private volatile long receiveSize;

    public ThreadTrace(Request request) {
        this.request = request;
    }

    void beginConnect() {
// Path: aisen_downloader/src/main/java/org/aiwen/downloader/utils/Utils.java
// public static long realtime() {
//     return SystemClock.elapsedRealtime();
// }


// Path: aisen_downloader/src/main/java/org/aiwen/downloader/ThreadTrace.java
import static org.aiwen.downloader.utils.Utils.realtime;

package org.aiwen.downloader;


/**
 * Created by 王dan on 2016/12/21.
 */
public class ThreadTrace {

    final Request request;

    private long connectS;

    private long connectE;

    private long readS;

    private long readE;

    float speed;// 下载速度

    private float averageSpeed;// 平均下载速度

    private long speedCountS;

    private long speedCountE;

    private long[] speedCount;

    private volatile long receiveSize;

    public ThreadTrace(Request request) {
        this.request = request;
    }

    void beginConnect() {
        connectS = realtime();