# HG changeset patch # User Nina Engelhardt # Date 1348581871 -7200 # Node ID 75df4e468930b6cd50e8db2bb46bda5a4c7dbf35 # Parent 7664da1180fd8d928260d7c1b8fec1648058bdfa rearrange to work with autoconf diff -r 7664da1180fd -r 75df4e468930 Histogram.c --- a/Histogram.c Mon Sep 17 11:24:29 2012 +0200 +++ b/Histogram.c Tue Sep 25 16:04:31 2012 +0200 @@ -93,7 +93,7 @@ return hist; } -void inline +void addToHist( int32 value, Histogram *hist ) { int32 binIdx; @@ -112,7 +112,7 @@ hist->bins[ binIdx ] += 1; } -void inline +void subFromHist( int32 value, Histogram *hist ) { int32 binIdx; @@ -134,7 +134,7 @@ /*Inline because use with RDTSC in innermost code so need ultra-fast */ -void inline +void addIntervalToHist( uint32 startIntvl, uint32 endIntvl, Histogram *hist ) { int32 value; @@ -144,7 +144,7 @@ addToHist( value, hist ); } -void inline +void subIntervalFromHist( int32 startIntvl, int32 endIntvl, Histogram *hist ) { int32 value; diff -r 7664da1180fd -r 75df4e468930 Histogram.h --- a/Histogram.h Mon Sep 17 11:24:29 2012 +0200 +++ b/Histogram.h Tue Sep 25 16:04:31 2012 +0200 @@ -54,13 +54,13 @@ makeFixedBinHistExt( int32 numBins, int32 startOfRange, int32 binWidth, char *name ); -void inline +void addToHist( int32 value, Histogram *hist ); -void inline +void addIntervalToHist( uint32 startIntvl, uint32 endIntvl, Histogram *hist ); -void inline +void subIntervalFromHist( int32 startIntvl, int32 endIntvl, Histogram *hist ); void