/*
* This file is part of the Jikes RVM project (http://jikesrvm.org).
*
* This file is licensed to You under the Common Public License (CPL);
* You may not use this file except in compliance with the License. You
* may obtain a copy of the License at
*
* http://www.opensource.org/licenses/cpl1.0.php
*
* See the COPYRIGHT.txt file distributed with this work for information
* regarding copyright ownership.
*/
package org.mmtk.vm;
/**
* $Id$
*
* @author <a href="http://cs.anu.edu.au/~Steve.Blackburn">Steve Blackburn</a>
* @author Perry Cheng
* @version $Revision$
*/
public class Statistics {
/**
* Returns the number of collections that have occured.
*
* @return The number of collections that have occured.
*/
public static final int getCollectionCount() {
return 0;
}
/**
* Read cycle counter
*/
public static long cycles() {
return 0L;
}
/**
* Convert cycles to milliseconds
*/
public static double cyclesToMillis(long c) {
return (double) 0;
}
/**
* Convert cycles to seconds
*/
public static double cyclesToSecs(long c) {
return (double) 0;
}
/**
* Convert milliseconds to cycles
*/
public static long millisToCycles(double t) {
return 0L;
}
/**
* Convert seconds to cycles
*/
public static long secsToCycles(double t) {
return 0L;
}
}