projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added callback mechanism to determine compilerlib function names.
[libfirm]
/
ir
/
stat
/
distrib.c
diff --git
a/ir/stat/distrib.c
b/ir/stat/distrib.c
index
e145b3e
..
02e60d1
100644
(file)
--- a/
ir/stat/distrib.c
+++ b/
ir/stat/distrib.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 1995-201
0
University of Karlsruhe. All right reserved.
+ * Copyright (C) 1995-201
1
University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
*
* This file is part of libFirm.
*
@@
-201,7
+201,7
@@
int stat_get_count_distrib_tbl(distrib_tbl_t *tbl)
double stat_calc_mean_distrib_tbl(distrib_tbl_t *tbl)
{
distrib_entry_t *entry;
double stat_calc_mean_distrib_tbl(distrib_tbl_t *tbl)
{
distrib_entry_t *entry;
-
unsigned
count;
+
size_t
count;
double sum;
if (tbl->int_dist) {
double sum;
if (tbl->int_dist) {
@@
-248,7
+248,7
@@
double stat_calc_mean_distrib_tbl(distrib_tbl_t *tbl)
double stat_calc_avg_distrib_tbl(distrib_tbl_t *tbl)
{
distrib_entry_t *entry;
double stat_calc_avg_distrib_tbl(distrib_tbl_t *tbl)
{
distrib_entry_t *entry;
-
unsigned
count = 0;
+
size_t
count = 0;
double sum = 0.0;
if (tbl->int_dist) {
double sum = 0.0;
if (tbl->int_dist) {