Mercurial > vba-clojure
annotate src/prof/prof.h @ 1:f9f4f1b99eed
importing src directory
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:31:27 -0600 |
parents | |
children |
rev | line source |
---|---|
rlm@1 | 1 // -*- C++ -*- |
rlm@1 | 2 // VisualBoyAdvance - Nintendo Gameboy/GameboyAdvance (TM) emulator. |
rlm@1 | 3 // Copyright (C) 1999-2003 Forgotten |
rlm@1 | 4 // Copyright (C) 2004 Forgotten and the VBA development team |
rlm@1 | 5 |
rlm@1 | 6 // This program is free software; you can redistribute it and/or modify |
rlm@1 | 7 // it under the terms of the GNU General Public License as published by |
rlm@1 | 8 // the Free Software Foundation; either version 2, or(at your option) |
rlm@1 | 9 // any later version. |
rlm@1 | 10 // |
rlm@1 | 11 // This program is distributed in the hope that it will be useful, |
rlm@1 | 12 // but WITHOUT ANY WARRANTY; without even the implied warranty of |
rlm@1 | 13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
rlm@1 | 14 // GNU General Public License for more details. |
rlm@1 | 15 // |
rlm@1 | 16 // You should have received a copy of the GNU General Public License |
rlm@1 | 17 // along with this program; if not, write to the Free Software Foundation, |
rlm@1 | 18 // Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
rlm@1 | 19 |
rlm@1 | 20 #ifndef VBA_PROF_PROF_H |
rlm@1 | 21 #define VBA_PROF_PROF_H |
rlm@1 | 22 |
rlm@1 | 23 /* Control profiling; |
rlm@1 | 24 profiling is what mcount checks to see if |
rlm@1 | 25 all the data structures are ready. */ |
rlm@1 | 26 |
rlm@1 | 27 extern void profControl(int mode); |
rlm@1 | 28 extern void profStartup(u32 lowpc, u32 highpc); |
rlm@1 | 29 extern void profCleanup(); |
rlm@1 | 30 extern void profCount(); |
rlm@1 | 31 |
rlm@1 | 32 extern void profSetHertz(int hertz); |
rlm@1 | 33 #endif |
rlm@1 | 34 |