2 * Copyright (c) 2002 Stephen Williams (steve@icarus.com)
4 * This source code is free software; you can redistribute it
5 * and/or modify it in source code form under the terms of the GNU
6 * General Public License as published by the Free Software
7 * Foundation; either version 2 of the License, or (at your option)
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
20 #ident "$Id: statistics.cc,v 1.5 2002/08/12 01:35:08 steve Exp $"
23 # include "statistics.h"
26 * This is a count of the instruction opcodes that were created.
28 unsigned long count_opcodes
= 0;
30 unsigned long count_functors
= 0;
31 unsigned long count_functors_table
= 0;
32 unsigned long count_functors_bufif
= 0;
33 unsigned long count_functors_resolv
= 0;
34 unsigned long count_functors_var
= 0;
36 unsigned long count_vpi_nets
= 0;
38 unsigned long count_vpi_memories
= 0;
40 unsigned long count_vpi_scopes
= 0;
42 size_t size_opcodes
= 0;
46 * $Log: statistics.cc,v $
47 * Revision 1.5 2002/08/12 01:35:08 steve
48 * conditional ident string using autoconfig.
50 * Revision 1.4 2002/07/05 20:08:44 steve
51 * Count different types of functors.
53 * Revision 1.3 2002/07/05 17:14:15 steve
54 * Names of vpi objects allocated as vpip_strings.
56 * Revision 1.2 2002/07/05 03:46:43 steve
57 * Track opcode memory space.
59 * Revision 1.1 2002/07/05 02:50:58 steve
60 * Remove the vpi object symbol table after compile.