2 /*--------------------------------------------------------------------*/
3 /*--- For printing superblock profiles pub_core_sbprofile.h ---*/
4 /*--------------------------------------------------------------------*/
7 This file is part of Valgrind, a dynamic binary instrumentation
10 Copyright (C) 2012-2013 Mozilla Foundation
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.
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.
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
27 The GNU General Public License is contained in the file COPYING.
30 /* Contributed by Julian Seward <jseward@acm.org> */
32 #ifndef __PUB_CORE_SBPROFILE_H
33 #define __PUB_CORE_SBPROFILE_H
35 #include "pub_core_basics.h" // VG_ macro
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
41 void VG_(get_and_show_SB_profile
) ( ULong ecs_done
);
43 #endif // __PUB_CORE_SBPROFILE_H
45 /*--------------------------------------------------------------------*/
46 /*--- end pub_core_sbprofile.h ---*/
47 /*--------------------------------------------------------------------*/