Mercurial > cgi-bin > hgwebdir.cgi > VMS > C_Libraries > Histogram
comparison Histogram.c @ 11:31a248920429
removed unused variable
| author | Merten Sach <msach@mailbox.tu-berlin.de> |
|---|---|
| date | Mon, 15 Aug 2011 17:25:25 +0200 |
| parents | 7a39408f9ea3 |
| children | 1fbaedaac2c7 |
comparison
equal
deleted
inserted
replaced
| 8:e15db7e192f0 | 9:46294775ff4b |
|---|---|
| 163 saveHistToFile(Histogram *hist) | 163 saveHistToFile(Histogram *hist) |
| 164 { | 164 { |
| 165 FILE *output; | 165 FILE *output; |
| 166 int32 binIdx, binStart, binEnd, centerValue, width; | 166 int32 binIdx, binStart, binEnd, centerValue, width; |
| 167 int32 maxHeight, i,n; | 167 int32 maxHeight, i,n; |
| 168 float32 total, total2, binPercent, expectedValue1, expectedValue2; | 168 float32 total, total2, expectedValue1, expectedValue2; |
| 169 | 169 |
| 170 if(hist == NULL || hist->name == NULL) | 170 if(hist == NULL || hist->name == NULL) |
| 171 return; | 171 return; |
| 172 | 172 |
| 173 //Calculate the average | 173 //Calculate the average |
| 224 //Build Environment | 224 //Build Environment |
| 225 fprintf(output, "# >> Build Environment <<\n"); | 225 fprintf(output, "# >> Build Environment <<\n"); |
| 226 fprintf(output, "# Hardware Architecture: "); | 226 fprintf(output, "# Hardware Architecture: "); |
| 227 #ifdef __x86_64 | 227 #ifdef __x86_64 |
| 228 fprintf(output, "x86_64"); | 228 fprintf(output, "x86_64"); |
| 229 #endif __ | 229 #endif //__x86_64 |
| 230 #ifdef __i386 | 230 #ifdef __i386 |
| 231 fprintf(output, "x86"); | 231 fprintf(output, "x86"); |
| 232 #endif | 232 #endif //__i386 |
| 233 fprintf(output, "\n"); | 233 fprintf(output, "\n"); |
| 234 fprintf(output, "# GCC VERSION: %d.%d.%d\n",__GNUC__,__GNUC_MINOR__,__GNUC_PATCHLEVEL__); | 234 fprintf(output, "# GCC VERSION: %d.%d.%d\n",__GNUC__,__GNUC_MINOR__,__GNUC_PATCHLEVEL__); |
| 235 fprintf(output, "# Build Date: %s %s\n", __DATE__, __TIME__); | 235 fprintf(output, "# Build Date: %s %s\n", __DATE__, __TIME__); |
| 236 fprintf(output, "# Number of Cores: %d\n", NUM_CORES); | 236 fprintf(output, "# Number of Cores: %d\n", NUM_CORES); |
| 237 //-------------------------- | 237 //-------------------------- |
