1 2 /*--------------------------------------------------------------------*/ 3 /*--- For printing superblock profiles pub_core_sbprofile.h ---*/ 4 /*--------------------------------------------------------------------*/ 5 6 /* 7 This file is part of Valgrind, a dynamic binary instrumentation 8 framework. 9 10 Copyright (C) 2012-2013 Mozilla Foundation 11 12 This program is free software; you can redistribute it and/or 13 modify it under the terms of the GNU General Public License as 14 published by the Free Software Foundation; either version 2 of the 15 License, or (at your option) any later version. 16 17 This program is distributed in the hope that it will be useful, but 18 WITHOUT ANY WARRANTY; without even the implied warranty of 19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 20 General Public License for more details. 21 22 You should have received a copy of the GNU General Public License 23 along with this program; if not, write to the Free Software 24 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 25 02111-1307, USA. 26 27 The GNU General Public License is contained in the file COPYING. 28 */ 29 30 /* Contributed by Julian Seward <jseward@acm.org> */ 31 32 #ifndef __PUB_CORE_SBPROFILE_H 33 #define __PUB_CORE_SBPROFILE_H 34 35 #include "pub_core_basics.h" // VG_ macro 36 37 /* Get and print a profile. Also, zero out the counters so that if we 38 call it again later, the second call will only show new work done 39 since the first call. ecs_done == 0 is taken to mean this is a 40 run-end profile. */ 41 void VG_(get_and_show_SB_profile) ( ULong ecs_done ); 42 43 #endif // __PUB_CORE_SBPROFILE_H 44 45 /*--------------------------------------------------------------------*/ 46 /*--- end pub_core_sbprofile.h ---*/ 47 /*--------------------------------------------------------------------*/ 48