cc.mallet.grmm.util
Class Flops
java.lang.Object
cc.mallet.grmm.util.Flops
public class Flops
- extends java.lang.Object
Utilities for flop (floating-point operation) counting. This is a much better
way to measure computation than CPU time, because it avoids measuring non-essential
properties of the implementations.
$Id: Flops.java,v 1.1 2007/10/22 21:37:58 mccallum Exp $
Constructor Summary |
Flops()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Flops
public Flops()
getFlops
public static long getFlops()
exp
public static void exp()
log
public static void log()
div
public static void div()
sqrt
public static void sqrt()
sumLogProb
public static void sumLogProb(int n)
increment
public static void increment(int N)
log
public static void log(int N)
exp
public static void exp(int N)
pow
public static void pow(int N)