You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

34 regels
800 B

  1. /*
  2. * libcaca Colour ASCII-Art library
  3. * Copyright (c) 2009 Sam Hocevar <sam@hocevar.net>
  4. * All Rights Reserved
  5. *
  6. * $Id$
  7. *
  8. * This library is free software; you can redistribute it and/or
  9. * modify it under the terms of the Do What The Fuck You Want To
  10. * Public License, Version 2, as published by Sam Hocevar. See
  11. * http://sam.zoy.org/wtfpl/COPYING for more details.
  12. */
  13. /*
  14. * This file contains profiling functions.
  15. */
  16. #ifndef __CACA_PROF_H__
  17. #define __CACA_PROF_H__
  18. #if defined PROF && !defined __KERNEL__
  19. # define PROFILING_VARS
  20. # define START_PROF(obj, fn)
  21. # define STOP_PROF(obj, fn)
  22. #else
  23. # define PROFILING_VARS
  24. # define START_PROF(obj, fn) do { } while(0)
  25. # define STOP_PROF(obj, fn) do { } while(0)
  26. #endif
  27. #endif /* __CACA_PROF_H__ */