OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [gprof/] [gmon_io.h] - Blame information for rev 309

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 25 khays
/* gmon_io.h
2
 
3
   Copyright 2000, 2001, 2002, 2004, 2007, 2008
4
   Free Software Foundation, Inc.
5
 
6
   This file is part of GNU Binutils.
7
 
8
   This program is free software; you can redistribute it and/or modify
9
   it under the terms of the GNU General Public License as published by
10
   the Free Software Foundation; either version 3 of the License, or
11
   (at your option) any later version.
12
 
13
   This program is distributed in the hope that it will be useful,
14
   but WITHOUT ANY WARRANTY; without even the implied warranty of
15
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
   GNU General Public License for more details.
17
 
18
   You should have received a copy of the GNU General Public License
19
   along with this program; if not, write to the Free Software
20
   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
21
   MA 02110-1301, USA.  */
22
 
23
#ifndef gmon_io_h
24
#define gmon_io_h
25
 
26
#define INPUT_HISTOGRAM         (1 << 0)
27
#define INPUT_CALL_GRAPH        (1 << 1)
28
#define INPUT_BB_COUNTS         (1 << 2)
29
 
30
extern int gmon_input;          /* What input did we see?  */
31
extern int gmon_file_version;   /* File version are we dealing with.  */
32
 
33
extern int gmon_io_read_vma (FILE *ifp, bfd_vma *valp);
34
extern int gmon_io_read_32 (FILE *ifp, unsigned int *valp);
35
extern int gmon_io_read (FILE *ifp, char *buf, size_t n);
36
extern int gmon_io_write_vma (FILE *ifp, bfd_vma val);
37
extern int gmon_io_write_32 (FILE *ifp, unsigned int val);
38
extern int gmon_io_write_8 (FILE *ifp, unsigned int val);
39
extern int gmon_io_write (FILE *ifp, char *buf, size_t n);
40
 
41
extern void gmon_out_read   (const char *);
42
extern void gmon_out_write  (const char *);
43
 
44
#endif /* gmon_io_h */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.