Ignore:
Timestamp:
Apr 12, 2017, 9:36:33 PM (7 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
50b7e8c, d9dd3d1
Parents:
ff178ee
Message:

Add printing code to benchmark

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/generic_types/evaluation/Makefile

    rff178ee r0d10090  
    11CFA = my-cfa
    22DEPFLAGS = -MMD -MP
    3 CFLAGS = -O2 -flto
     3CFLAGS = -O2
     4ifdef N
     5CFLAGS += -DN=$(N)
     6endif
    47CXXFLAGS = $(CFLAGS) --std=c++14
    58
     
    2528        $(COMPILE.cfa) $(OUTPUT_OPTION) -c $<
    2629
    27 COBJS = c-stack.o c-pair.o
     30COBJS = c-stack.o c-pair.o c-print.o
    2831CPPOBJS =
    2932CPPVOBJS = cpp-vstack.o
    30 CFAOBJS = cfa-stack.o cfa-pair.o
     33CFAOBJS = cfa-stack.o cfa-pair.o cfa-print.o
    3134
    3235c-bench: c-bench.c c-bench.d $(COBJS)
     
    6568        @echo '## Cforall ##'
    6669        @/usr/bin/time -f 'max_memory:\t %M kilobytes' ./cfa-bench
    67         @printf 'source_size:\t%8d lines\n' `cat cfa-bench.c bench.h cfa-stack.h cfa-stack.c | wc -l`
     70        @printf 'source_size:\t%8d lines\n' `cat cfa-bench.c bench.h cfa-stack.h cfa-stack.c cfa-print.h cfa-print.c | wc -l`
    6871        @printf 'binary_size:\t%8d bytes\n' `stat -c %s cfa-bench`
    6972
     
    7275        @echo '## C++ ##'
    7376        @/usr/bin/time -f 'max_memory:\t %M kilobytes' ./cpp-bench
    74         @printf 'source_size:\t%8d lines\n' `cat cpp-bench.cpp bench.hpp cpp-stack.hpp | wc -l`
     77        @printf 'source_size:\t%8d lines\n' `cat cpp-bench.cpp bench.hpp cpp-stack.hpp cpp-print.hpp | wc -l`
    7578        @printf 'binary_size:\t%8d bytes\n' `stat -c %s cpp-bench`
    7679
Note: See TracChangeset for help on using the changeset viewer.