00001 #include "sdag-globals.h" 00002 #include <stdarg.h> 00003 #include <stdio.h> 00004 00005 namespace xi { 00006 00007 void Indent(int indent) { 00008 for (int i = 0; i < indent; i++) printf(" "); 00009 } 00010 00011 int numSdagEntries = 0; 00012 int numSlists = 0; 00013 int numOverlaps = 0; 00014 int numWhens = 0; 00015 int numFors = 0; 00016 int numIfs = 0; 00017 int numElses = 0; 00018 int numEntries = 0; 00019 int numOlists = 0; 00020 int numWhiles = 0; 00021 int numSerials = 0; 00022 int numForwards = 0; 00023 int numForalls = 0; 00024 int numConnects = 0; 00025 int numCases = 0; 00026 int numCaseLists = 0; 00027 00028 void resetNumbers(void) { 00029 numSdagEntries = 0; 00030 numSlists = 0; 00031 numOverlaps = 0; 00032 numWhens = 0; 00033 numFors = 0; 00034 numIfs = 0; 00035 numElses = 0; 00036 numEntries = 0; 00037 numOlists = 0; 00038 numWhiles = 0; 00039 numSerials = 0; 00040 numForwards = 0; 00041 numForalls = 0; 00042 numConnects = 0; 00043 numCases = 0; 00044 numCaseLists = 0; 00045 } 00046 00047 } // namespace xi