Changeset 3905 for libcaca


Ignore:
Timestamp:
Nov 16, 2009, 2:15:25 AM (10 years ago)
Author:
Sam Hocevar
Message:

Start working on profiling.

Location:
libcaca/trunk
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/Makefile.am

    r3904 r3905  
    2121        caca_internals.h \
    2222        caca_debug.h \
     23        caca_prof.h \
    2324        caca_stubs.h \
    2425        caca_conio.c \
  • libcaca/trunk/caca/caca_internals.h

    r3904 r3905  
    1818#include "caca_stubs.h"
    1919#include "caca_debug.h"
     20#include "caca_prof.h"
    2021
    2122typedef struct caca_timer caca_timer_t;
  • libcaca/trunk/caca/libcaca.vcproj

    r3904 r3905  
    414414                </File>
    415415                <File
     416                        RelativePath="caca_prof.h"
     417                        >
     418                </File>
     419                <File
    416420                        RelativePath="caca_stubs.h"
    417421                        >
  • libcaca/trunk/configure.ac

    r3599 r3905  
    9393AC_ARG_ENABLE(debug,
    9494  [  --enable-debug          build debug versions of the library (default no)])
     95AC_ARG_ENABLE(prof,
     96  [  --enable-prof           activate built-in profiling (default no)])
    9597AC_ARG_ENABLE(plugins,
    9698  [  --enable-plugins        make X11 and GL drivers plugins (default disabled)])
     
    322324fi
    323325
     326if test "${enable_prof}" = "yes"; then
     327  AC_DEFINE(PROF, 1, Define to 1 to activate profiling)
     328fi
     329
    324330if test "${enable_plugins}" = "yes"; then
    325331  ac_cv_my_have_plugins="yes"
Note: See TracChangeset for help on using the changeset viewer.