Changeset 977


Ignore:
Timestamp:
Sep 22, 2011, 6:16:58 PM (9 years ago)
Author:
sam
Message:

core: new benchmark snippet for operations on reals.

Location:
trunk/test
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/Makefile.am

    r965 r977  
    2626
    2727benchsuite_SOURCES = benchsuite.cpp \
    28     benchmark/matrix.cpp benchmark/half.cpp benchmark/trig.cpp
     28    benchmark/matrix.cpp benchmark/half.cpp benchmark/trig.cpp \
     29    benchmark/real.cpp
    2930benchsuite_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
    3031benchsuite_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
  • trunk/test/benchsuite.cpp

    r961 r977  
    2424using namespace lol;
    2525
     26void bench_real(int mode);
    2627void bench_trig(int mode);
    2728void bench_matrix(int mode);
     
    3031int main(int argc, char **argv)
    3132{
     33    Log::Info("-----------------------\n");
     34    Log::Info(" High precision floats\n");
     35    Log::Info("-----------------------\n");
     36    bench_real(1);
     37
    3238    Log::Info("--------------------------\n");
    3339    Log::Info(" Trigonometry [-1e5, 1e5]\n");
Note: See TracChangeset for help on using the changeset viewer.